UnivesalDisassembler(2003)
|
#include <string>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
#include <dirent.h>
#include "udaclasses.h"
#include "shared.h"
Go to the source code of this file.
Functions | |
string | uint2str (unsigned value) |
string | uint2hex (unsigned value, const string prefix) |
unsigned | hex2uint (const string hex) |
unsigned | number2uint (const string num) |
bool | directory_exists (const string directory) |
bool | file_exists (const string filename) |
bool directory_exists | ( | const string | directory | ) |
Definition at line 88 of file utils.cc.
Referenced by set_base_dir().
unsigned number2uint | ( | const string | num | ) |
Definition at line 71 of file utils.cc.
References hex2uint().
string uint2hex | ( | unsigned | value, |
const string | prefix | ||
) |
Definition at line 38 of file utils.cc.
Referenced by BuiltinTables::BAd::Decode(), BuiltinTables::BAw::Decode(), BuiltinTables::BApd::Decode(), BuiltinTables::BApw::Decode(), BuiltinTables::BJd::Decode(), BuiltinTables::BJw::Decode(), BuiltinTables::BJb::Decode(), BuiltinTables::SBId::Decode(), BuiltinTables::BId::Decode(), BuiltinTables::Ad::Decode(), BuiltinTables::Aw::Decode(), BuiltinTables::Apd::Decode(), BuiltinTables::Apw::Decode(), BuiltinTables::Jd::Decode(), BuiltinTables::Jw::Decode(), BuiltinTables::Jb::Decode(), BuiltinTables::SId::Decode(), BuiltinTables::Id::Decode(), Table::Decode(), and Section::operator[]().
string uint2str | ( | unsigned | value | ) |
Definition at line 23 of file utils.cc.
Referenced by Symbols::checkaddress(), Symbols::Load(), and Scanner::Scan().