Minor changes in documentation

This commit is contained in:
Serge Lamikhov-Center 2012-07-18 19:04:14 +03:00
parent 0791d33e5b
commit e279f5c6d6
3 changed files with 28 additions and 5 deletions

View File

@ -83,8 +83,9 @@ int main( int argc, char** argv )
This chapter will explain how to work with the reader portion
of the ELFIO library. The first step would be creation of the <classname>elfio</classname>
class instance. The <classname>elfio</classname> constructor does not
receive any parameters. After that, we initialize the instance by
loading an ELF file with name passed as a parameter.
receive any parameters. After creation of a class object, we initialize
the instance by invoking <function>load</function> function
passing ELF file name as a parameter.
<programlistingco>
<areaspec>
<area id="plco.constructor" coords='3 60'/>

Binary file not shown.

View File

@ -408,7 +408,9 @@
</funcsynopsis>
</entry>
<entry>
Returns default entry size for .
Sets the section header table's file offset. Attention!
The value can be overridden by the library, when it creates new ELF
file layout.
</entry>
</row>
<row>
@ -422,7 +424,7 @@
</funcsynopsis>
</entry>
<entry>
Returns the program header table's file offset in bytes.
Returns the program header table's file offset.
</entry>
</row>
<row>
@ -437,7 +439,9 @@
</funcsynopsis>
</entry>
<entry>
Sets the program header table's file offset in bytes.
Sets the program header table's file offset. Attention!
The value can be overridden by the library, when it creates new ELF
file layout.
</entry>
</row>
<row>
@ -486,6 +490,24 @@
<classname>elfio</classname> object instance.
</entry>
</row>
<row>
<entry>
<funcsynopsis>
<funcprototype>
<funcdef>Elf_Xword <function>get_default_entry_size</function>
</funcdef>
<paramdef>Elf_Word <parameter>section_type</parameter>
</paramdef>
</funcprototype>
</funcsynopsis>
</entry>
<entry>
Returns default entry size for known section types having different values
on 32 and 64 bit architectures. At the moment, only SHT_RELA, SHT_REL,
SHT_SYMTAB and SHT_DYNAMIC are 'known' section types. The function
returns 0 for other section types.
</entry>
</row>
</tbody>
</tgroup>
</table>