FreeBASIC
0.91.0
|
Go to the source code of this file.
Data Structures | |
class | DATABUFFER |
class | OBJINFOPARSERCTX |
class | ELF32_H |
class | ELF64_H |
class | ELF32_SH |
class | ELF64_SH |
class | COFF_H |
class | COFF_SH |
class | AR_H |
class | ENTRYINFO |
Macros | |
#define | INFO(s) /* print "objinfo: " + s */ |
#define | INFO(s) |
#define | ELFLOADINGCODE(ELF_H, ELF_SH, ELF_MAGIC_4, ELF_MACHINE) |
Enumerations | |
enum | { FB_INFOSEC_EOL = 0, FB_INFOSEC_LIB, FB_INFOSEC_PTH, FB_INFOSEC_CMD } |
Functions | |
private sub | hLoadFbctinfFromCOFF (byval_as_ushort magic) |
private function_as_zstring_ptr | hLoadArString (byval_as_ubyte_ptr p, byval_as_integer length) |
private sub | hLoadObjFromAr () |
private sub | hLoadFile (byref_as_string filename, byval_as_DATABUFFER_ptr buf) |
private sub | hLoadFbctinfFromObj () |
private sub | hResetBuffers () |
private sub | objinfoInit (byref_as_string filename) |
sub | objinfoReadObj (byref_as_string objfile) |
sub | objinfoReadLibfile (byref_as_string libfile) |
sub | objinfoReadLib (byref_as_string libname, byval_as_TLIST_ptr libpaths) |
private function_as_zstring_ptr | hGetNextString () |
function_as_integer | objinfoReadNext (byref_as_string dat) |
function_as_zstring_ptr | objinfoGetFilename () |
sub | objinfoReadEnd () |
function_as_zstring_ptr | objinfoEncode (byval_as_integer entry) |
Variables | |
DATABUFFER | ardata |
DATABUFFER | objdata |
DATABUFFER | fbctinf |
OBJINFOPARSERCTX | parser |
zstring | fbctinfname = ".fbctinf" |
ubyte | elfmagic [to+1] = |
const VAR | ET_REL = 1 |
const VAR | EM_386 = 3 |
const VAR | EM_X86_64 = 62 |
ubyte | armagic [to+1] = |
ENTRYINFO | entries [to[OBJINFO__COUNT+1]+1] = |
#define ELFLOADINGCODE | ( | ELF_H, | |
ELF_SH, | |||
ELF_MAGIC_4, | |||
ELF_MACHINE | |||
) |
Definition at line 972 of file objinfo.bas.
#define INFO | ( | s) | /* print "objinfo: " + s */ |
Definition at line 97 of file objinfo.bas.
#define INFO | ( | s) |
Definition at line 97 of file objinfo.bas.
anonymous enum |
Enumerator | |
---|---|
FB_INFOSEC_EOL | |
FB_INFOSEC_LIB | |
FB_INFOSEC_PTH | |
FB_INFOSEC_CMD |
Definition at line 875 of file objinfo.bas.
private function_as_zstring_ptr hGetNextString | ( | ) |
private function_as_zstring_ptr hLoadArString | ( | byval_as_ubyte_ptr | p, |
byval_as_integer | length | ||
) |
private sub hLoadFbctinfFromCOFF | ( | byval_as_ushort | magic) |
private sub hLoadFbctinfFromObj | ( | ) |
Definition at line 1378 of file objinfo.bas.
private sub hLoadFile | ( | byref_as_string | filename, |
byval_as_DATABUFFER_ptr | buf | ||
) |
private sub hLoadObjFromAr | ( | ) |
Definition at line 1277 of file objinfo.bas.
private sub hResetBuffers | ( | ) |
function_as_zstring_ptr objinfoEncode | ( | byval_as_integer | entry) |
function_as_zstring_ptr objinfoGetFilename | ( | ) |
private sub objinfoInit | ( | byref_as_string | filename) |
Definition at line 1445 of file objinfo.bas.
sub objinfoReadEnd | ( | ) |
Definition at line 1611 of file objinfo.bas.
sub objinfoReadLib | ( | byref_as_string | libname, |
byval_as_TLIST_ptr | libpaths | ||
) |
Definition at line 1480 of file objinfo.bas.
sub objinfoReadLibfile | ( | byref_as_string | libfile) |
Definition at line 1464 of file objinfo.bas.
function_as_integer objinfoReadNext | ( | byref_as_string | dat) |
Definition at line 1525 of file objinfo.bas.
sub objinfoReadObj | ( | byref_as_string | objfile) |
Definition at line 1453 of file objinfo.bas.
DATABUFFER ardata |
Definition at line 871 of file objinfo.bas.
ubyte armagic[to+1] = |
Definition at line 1238 of file objinfo.bas.
ubyte elfmagic[to+1] = |
Definition at line 930 of file objinfo.bas.
const VAR EM_386 = 3 |
Definition at line 937 of file objinfo.bas.
const VAR EM_X86_64 = 62 |
Definition at line 938 of file objinfo.bas.
ENTRYINFO entries[to[OBJINFO__COUNT+1]+1] = |
Definition at line 1428 of file objinfo.bas.
const VAR ET_REL = 1 |
Definition at line 936 of file objinfo.bas.
DATABUFFER fbctinf |
Definition at line 871 of file objinfo.bas.
zstring fbctinfname = ".fbctinf" |
Definition at line 894 of file objinfo.bas.
DATABUFFER objdata |
Definition at line 871 of file objinfo.bas.
OBJINFOPARSERCTX parser |
Definition at line 889 of file objinfo.bas.