UnivesalDisassembler(2003)
|
#include <iostream>
#include <libelf.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include "shared.h"
Go to the source code of this file.
Defines | |
#define | pluginname "elf.so" |
Functions | |
void | plugin_init (int &type, const char *&ident, const char *&syntax, Parameters *p) |
int | is_file_defined (const char *file) |
int | load_sections (BinFileData &bfdata) |
int | load_symbols (AbstractSymbols &Symbols) |
Variables | |
Parameters * | Params |
Parameters map. |
#define pluginname "elf.so" |
Definition at line 22 of file elf.cc.
Referenced by is_file_defined(), and load_sections().
int is_file_defined | ( | const char * | file | ) |
Definition at line 39 of file elf.cc.
References debug, and pluginname.
int load_sections | ( | BinFileData & | bfdata | ) |
Definition at line 61 of file elf.cc.
References SectionData::addr, SectionData::content, debug, BinFileData::entry, SectionData::executable, SectionData::name, BinFileData::name, pluginname, BinFileData::Sections, and SectionData::size.
int load_symbols | ( | AbstractSymbols & | Symbols | ) |
Definition at line 155 of file elf.cc.
References AbstractSymbols::bfdata, BinFileData::Sections, and AbstractSymbols::symbols.
void plugin_init | ( | int & | type, |
const char *& | ident, | ||
const char *& | syntax, | ||
Parameters * | p | ||
) |
Definition at line 28 of file elf.cc.
References Params, PLUGIN_SECTIONS, and PLUGIN_SYMTABLE.