mirror of
https://github.com/QuasarApp/macdependency.git
synced 2025-04-27 21:04:31 +00:00
18 lines
428 B
C++
18 lines
428 B
C++
#include "symboltableentry32.h"
|
|
#include "machofile.h"
|
|
|
|
SymbolTableEntry32::SymbolTableEntry32(MachOFile& file, struct nlist* entry, char* stringTable) :
|
|
SymbolTableEntry(file, stringTable), entry(entry)
|
|
{
|
|
}
|
|
|
|
const char* SymbolTableEntry32::getInternalName() const {
|
|
return &stringTable[file.getUint32(entry->n_un.n_strx)];
|
|
}
|
|
|
|
unsigned int SymbolTableEntry32::getInternalType() const {
|
|
return entry->n_type;
|
|
}
|
|
|
|
|