The OpenD Programming Language

getsectbynamefromheaderwithswap_64

Returns the section with the given section name.

Returns the section structure of the given section in the given segment in image pointed to by the given mach header.

version(CoreDdoc)
extern (C) nothrow @nogc
const(section)*
getsectbynamefromheaderwithswap_64
(
const scope mach_header_64* mhp
,
const scope char* segname
,
const scope char* section
,
int fSwap
)

Parameters

mhp mach_header_64*

the mach header to get the section from

segname char*

the name of the segment

section char*

the name of the section

fSwap int

?

Return Value

Type: const(section)*

a pointer to the section structure or null if it doesn't exist

Meta