diff --git a/doc/site/elfio.htm b/doc/site/elfio.htm index 4e6dce9..dd2ca5d 100755 --- a/doc/site/elfio.htm +++ b/doc/site/elfio.htm @@ -13,9 +13,6 @@
+While the library's implementation does make your work much easier: basic +knowledge of the ELF binary format is required. Information about ELF +binary format can be found widely on the web. +
++Current version of ELFIO library is 2.0 and it is distributed under +MIT License conditions. +
++Note for users of previous library versions 1.0.x - Version 2.0 is not source +compatible to earlier versions. But, for many projects, transition to a new library +interface does not take more than several minutes. +
-The ELFIO library consists of two independent parts: ELF File Reader + (IELFI) + and ELF Producer (IELFO). + Each is represented by its own set of interfaces. + The library does not contain any classes that need to be explicitly + instantiated. ELFIO itself provides the interfaces that + are used to access the library's functionality. +
+To make the program recognize all ELFIO interface classes, the ELFIO.h + header file is needed. This header file defines all + standard definitions from the TIS documentation. +
#include <ELFIO.h>+ +
This chapter will explain how to work with the reader component + of the ELFIO library. The first step is to get a pointer + onto the ELF File Reader: +
IELFI* pReader; + ELFIO::GetInstance()->CreateELFI( &pReader );+ +
Now, that there is a pointer on the IELFI + interface: initialize the object by loading the ELF file: +
char* filename = "file.o"; + pReader->Load( filename );+ +
From here, there is access to the ELF header. This makes it possible to request file + parameters such as encoding, machine type, entry point, etc. + To get the encoding of the file use: +
unsigned char encoding = pReader->GetEncoding();+ +
Please note: standard types and constants from the TIS document are defined + in the ELFTypes.h header file. This file is included automatically into the + project. For example: ELFDATA2LSB and ELFDATA2MSB constants + define a value for little and big endian encoding. +
+diff --git a/doc/site/oldsite/c18.htm b/doc/site/oldsite/c18.htm new file mode 100755 index 0000000..5440346 --- /dev/null +++ b/doc/site/oldsite/c18.htm @@ -0,0 +1,250 @@ +