Package apple.struct
Class segment_command
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.c.StructObject
-
- apple.struct.segment_command
-
public final class segment_command extends org.moe.natj.c.StructObject
-
-
Constructor Summary
Constructors Modifier Constructor Description segment_command()protectedsegment_command(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcmd()LC_SEGMENTintcmdsize()includes sizeof section structsintfileoff()file offset of this segmentintfilesize()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_SEGMENTvoidsetCmdsize(int value)includes sizeof section structsvoidsetFileoff(int value)file offset of this segmentvoidsetFilesize(int 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(int value)memory address of this segmentvoidsetVmsize(int value)memory size of this segmentintvmaddr()memory address of this segmentintvmsize()memory size of this segment
-
-
-
Method Detail
-
cmd
public int cmd()
LC_SEGMENT
-
setCmd
public void setCmd(int value)
LC_SEGMENT
-
cmdsize
public int cmdsize()
includes sizeof section structs
-
setCmdsize
public void setCmdsize(int value)
includes sizeof section structs
-
segname
public byte segname(int field_idx)
segment name
-
setSegname
public void setSegname(byte value, int field_idx)segment name
-
vmaddr
public int vmaddr()
memory address of this segment
-
setVmaddr
public void setVmaddr(int value)
memory address of this segment
-
vmsize
public int vmsize()
memory size of this segment
-
setVmsize
public void setVmsize(int value)
memory size of this segment
-
fileoff
public int fileoff()
file offset of this segment
-
setFileoff
public void setFileoff(int value)
file offset of this segment
-
filesize
public int filesize()
amount to map from the file
-
setFilesize
public void setFilesize(int 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
-
-