Package apple.struct
Class segment_command_64
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.c.StructObject
-
- apple.struct.segment_command_64
-
public final class segment_command_64 extends org.moe.natj.c.StructObject
-
-
Constructor Summary
Constructors Modifier Constructor Description segment_command_64()protectedsegment_command_64(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcmd()LC_SEGMENT_64intcmdsize()includes sizeof section_64 structslongfileoff()file offset of this segmentlongfilesize()amount to map from the fileintflags()flagsintinitprot()initial VM protectionintmaxprot()maximum VM protectionintnsects()number of sections in segmentbytesegname(int field_idx)segment namevoidsetCmd(int value)LC_SEGMENT_64voidsetCmdsize(int value)includes sizeof section_64 structsvoidsetFileoff(long value)file offset of this segmentvoidsetFilesize(long value)amount to map from the filevoidsetFlags(int value)flagsvoidsetInitprot(int value)initial VM protectionvoidsetMaxprot(int value)maximum VM protectionvoidsetNsects(int value)number of sections in segmentvoidsetSegname(byte value, int field_idx)segment namevoidsetVmaddr(long value)memory address of this segmentvoidsetVmsize(long value)memory size of this segmentlongvmaddr()memory address of this segmentlongvmsize()memory size of this segment
-
-
-
Method Detail
-
cmd
public int cmd()
LC_SEGMENT_64
-
setCmd
public void setCmd(int value)
LC_SEGMENT_64
-
cmdsize
public int cmdsize()
includes sizeof section_64 structs
-
setCmdsize
public void setCmdsize(int value)
includes sizeof section_64 structs
-
segname
public byte segname(int field_idx)
segment name
-
setSegname
public void setSegname(byte value, int field_idx)segment name
-
vmaddr
public long vmaddr()
memory address of this segment
-
setVmaddr
public void setVmaddr(long value)
memory address of this segment
-
vmsize
public long vmsize()
memory size of this segment
-
setVmsize
public void setVmsize(long value)
memory size of this segment
-
fileoff
public long fileoff()
file offset of this segment
-
setFileoff
public void setFileoff(long value)
file offset of this segment
-
filesize
public long filesize()
amount to map from the file
-
setFilesize
public void setFilesize(long value)
amount to map from the file
-
maxprot
public int maxprot()
maximum VM protection
-
setMaxprot
public void setMaxprot(int value)
maximum VM protection
-
initprot
public int initprot()
initial VM protection
-
setInitprot
public void setInitprot(int value)
initial VM protection
-
nsects
public int nsects()
number of sections in segment
-
setNsects
public void setNsects(int value)
number of sections in segment
-
flags
public int flags()
flags
-
setFlags
public void setFlags(int value)
flags
-
-