java.lang.Object | |
↳ | com.pnfsoftware.jeb.core.units.codeobject.ELFStringTable |
Parser for ELF string tables.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ELFStringTable(byte[] data)
Parse an encoded string table, such as the one found in a dynamic library's program table.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
List<String> |
getAllStrings()
Retrieve all the strings stored in the table.
| ||||||||||
String |
getString(int index)
Retrieve the string at the given index in the table.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Parse an encoded string table, such as the one found in a dynamic library's program table.
data | string table data, cannot be empty and the first byte must be 0 |
---|
Retrieve all the strings stored in the table.
Retrieve the string at the given index in the table. On error, this method it returns null.
index | string index, 0-based |
---|