core.sys.darwin.mach.getsect

D header file for mach-o/getsect.h.

Members

Functions

get_edata
c_ulong get_edata()
get_end
c_ulong get_end()
get_etext
c_ulong get_etext()
getsectbyname
const(Section)* getsectbyname(const scope char* segname, const scope char* sectname)

Returns the section with the given section name.

getsectbynamefromheader
const(section)* getsectbynamefromheader(const scope mach_header* mhp, const scope char* segname, const scope char* sectname)
getsectbynamefromheader_64
const(section_64)* getsectbynamefromheader_64(const scope mach_header_64* mhp, const scope char* segname, const scope char* sectname)

Returns the section with the given section name.

getsectbynamefromheaderwithswap
const(section)* getsectbynamefromheaderwithswap(const scope mach_header* mhp, const scope char* segname, const scope char* section, int fSwap)
getsectbynamefromheaderwithswap_64
const(section)* getsectbynamefromheaderwithswap_64(const scope mach_header_64* mhp, const scope char* segname, const scope char* section, int fSwap)

Returns the section with the given section name.

getsectdata
char* getsectdata(const scope char* segname, const scope char* sectname, c_ulong* size)

Returns the section data of section with the given section name.

getsectdatafromFramework
char* getsectdatafromFramework(const scope char* FrameworkName, const scope char* segname, const scope char* sectname, c_ulong* size)

Returns the section data of section with the given section name.

getsectdatafromheader
ubyte* getsectdatafromheader(const scope mach_header* mhp, const scope char* segname, const scope char* sectname, c_ulong* size)
getsectdatafromheader_64
ubyte* getsectdatafromheader_64(const scope mach_header_64* mhp, const scope char* segname, const scope char* sectname, c_ulong* size)

Returns the section data of section with the given section name.

getsectiondata
ubyte* getsectiondata(const scope MachHeader* mhp, const scope char* segname, const scope char* sectname, c_ulong* size)

Returns the section data of section with the given section name.

getsegbyname
const(SegmentCommand)* getsegbyname(const scope char* segname)

Returns the segment with the given segment name.

getsegmentdata
ubyte* getsegmentdata(const scope MachHeader* mhp, const scope char* segname, c_ulong* size)

Returns the segment data of segment with the given segment name.

Structs

MachHeader
struct MachHeader

In reality this will be core.sys.darwin.mach.loader.mach_header on 32-bit platforms and core.sys.darwin.mach.loader.mach_header_64 64-bit platforms.

Section
struct Section

In reality this will be core.sys.darwin.mach.loader.section on 32-bit platforms and core.sys.darwin.mach.loader.section_64 64-bit platforms.

SegmentCommand
struct SegmentCommand

In reality this will be core.sys.darwin.mach.loader.segment_command on 32-bit platforms and core.sys.darwin.mach.loader.segment_command_64 64-bit platforms.

Meta

Version

Initial created: Mar 16, 2010

Authors

Jacob Carlborg

Suggestion Box / Bug Report