public final class section
extends org.moe.natj.c.StructObject
| Modifier | Constructor and Description |
|---|---|
|
section() |
protected |
section(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
int |
addr()
memory address of this section
|
int |
align()
section alignment (power of 2)
|
int |
flags()
flags (section type and attributes)
|
int |
nreloc()
number of relocation entries
|
int |
offset()
file offset of this section
|
int |
reloff()
file offset of relocation entries
|
int |
reserved1()
reserved (for offset or index)
|
int |
reserved2()
reserved (for count or sizeof)
|
byte |
sectname(int field_idx)
name of this section
|
byte |
segname(int field_idx)
segment this section goes in
|
void |
setAddr(int value)
memory address of this section
|
void |
setAlign(int value)
section alignment (power of 2)
|
void |
setFlags(int value)
flags (section type and attributes)
|
void |
setNreloc(int value)
number of relocation entries
|
void |
setOffset(int value)
file offset of this section
|
void |
setReloff(int value)
file offset of relocation entries
|
void |
setReserved1(int value)
reserved (for offset or index)
|
void |
setReserved2(int value)
reserved (for count or sizeof)
|
void |
setSectname(byte value,
int field_idx)
name of this section
|
void |
setSegname(byte value,
int field_idx)
segment this section goes in
|
void |
setSize(int value)
size in bytes of this section
|
int |
size()
size in bytes of this section
|
public section()
protected section(org.moe.natj.general.Pointer peer)
public byte sectname(int field_idx)
public void setSectname(byte value,
int field_idx)
public byte segname(int field_idx)
public void setSegname(byte value,
int field_idx)
public int addr()
public void setAddr(int value)
public int size()
public void setSize(int value)
public int offset()
public void setOffset(int value)
public int align()
public void setAlign(int value)
public int reloff()
public void setReloff(int value)
public int nreloc()
public void setNreloc(int value)
public int flags()
public void setFlags(int value)
public int reserved1()
public void setReserved1(int value)
public int reserved2()
public void setReserved2(int value)