struct Debug::MachO

Overview

Mach-O parser.

Documentation:

Defined in:

debug/mach_o.cr

Constant Summary

ABI64 = 16777216
CIGAM = 3472551422_i64
CIGAM_64 = 3489328638_i64
MAGIC = 4277009102_i64
MAGIC_64 = 4277009103_i64

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from struct Struct

==(other : self) : Bool ==, hash(hasher) hash, inspect(io : IO) : Nil inspect, pretty_print(pp) : Nil pretty_print, to_s(io) to_s

Instance methods inherited from struct Value

==(other) ==, dup dup

Instance methods inherited from class Object

!=(other) !=, !~(other) !~, ==(other) ==, ===(other : JSON::Any)
===(other : YAML::Any)
===(other)
===
, =~(other) =~, class class, dup dup, hash(hasher)
hash
hash
, inspect(io : IO)
inspect
inspect
, itself itself, not_nil! not_nil!, pretty_inspect(width = 79, newline = "\n", indent = 0) : String pretty_inspect, pretty_print(pp : PrettyPrint) : Nil pretty_print, tap(&block) tap, to_json(io : IO)
to_json
to_json
, to_pretty_json(indent : String = " ")
to_pretty_json(io : IO, indent : String = " ")
to_pretty_json
, to_s
to_s(io : IO)
to_s
, to_yaml(io : IO)
to_yaml
to_yaml
, try(&block) try, unsafe_as(type : T.class) forall T unsafe_as

Constructor methods inherited from class Object

from_json(string_or_io, root : String) : self
from_json(string_or_io) : self
from_json
, from_yaml(string_or_io : String | IO) : self from_yaml

Constructor Detail

def self.new(io : IO::FileDescriptor) #

[View source]

Class Method Detail

def self.open(path, &block) #

[View source]

Instance Method Detail

def abi64? #

[View source]
def cpusubtype : Int32 #

[View source]
def cpusubtype=(cpusubtype : Int32) #

[View source]
def cputype : CpuType #

[View source]
def cputype=(cputype : CpuType) #

[View source]
def endianness #

[View source]
def filetype : FileType #

[View source]
def filetype=(filetype : FileType) #

[View source]
def flags : Flags #

[View source]
def flags=(flags : Flags) #

[View source]
def magic : UInt32 #

[View source]
def magic=(magic : UInt32) #

[View source]
def ncmds : UInt32 #

[View source]
def ncmds=(ncmds : UInt32) #

[View source]
def read_section?(name, &block) #

[View source]
def sections #

[View source]
def segments #

[View source]
def sizeofcmds : UInt32 #

[View source]
def sizeofcmds=(sizeofcmds : UInt32) #

[View source]
def stabs #

[View source]
def symbols #

[View source]
def symtab #

[View source]
def uuid #

[View source]