public final class segment_command
extends org.moe.natj.c.StructObject
| Modifier | Constructor and Description |
|---|---|
|
segment_command() |
protected |
segment_command(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
int |
cmd()
LC_SEGMENT
|
int |
cmdsize()
includes sizeof section structs
|
int |
fileoff()
file offset of this segment
|
int |
filesize()
amount to map from the file
|
int |
flags()
flags
|
int |
initprot()
initial VM protection
|
int |
maxprot()
maximum VM protection
|
int |
nsects()
number of sections in segment
|
byte |
segname(int field_idx)
segment name
|
void |
setCmd(int value)
LC_SEGMENT
|
void |
setCmdsize(int value)
includes sizeof section structs
|
void |
setFileoff(int value)
file offset of this segment
|
void |
setFilesize(int value)
amount to map from the file
|
void |
setFlags(int value)
flags
|
void |
setInitprot(int value)
initial VM protection
|
void |
setMaxprot(int value)
maximum VM protection
|
void |
setNsects(int value)
number of sections in segment
|
void |
setSegname(byte value,
int field_idx)
segment name
|
void |
setVmaddr(int value)
memory address of this segment
|
void |
setVmsize(int value)
memory size of this segment
|
int |
vmaddr()
memory address of this segment
|
int |
vmsize()
memory size of this segment
|
public segment_command()
protected segment_command(org.moe.natj.general.Pointer peer)
public int cmd()
public void setCmd(int value)
public int cmdsize()
public void setCmdsize(int value)
public byte segname(int field_idx)
public void setSegname(byte value,
int field_idx)
public int vmaddr()
public void setVmaddr(int value)
public int vmsize()
public void setVmsize(int value)
public int fileoff()
public void setFileoff(int value)
public int filesize()
public void setFilesize(int value)
public int maxprot()
public void setMaxprot(int value)
public int initprot()
public void setInitprot(int value)
public int nsects()
public void setNsects(int value)
public int flags()
public void setFlags(int value)