Definition at line 24 of file LibraryInfo.h.
|
std::string | libName |
|
std::string | libVersion |
|
std::string | libHash |
|
std::string | architecture |
|
time_t | analysisTime |
|
LibraryIdentification::LibraryInfo::LibraryInfo |
( |
const std::string & |
ilibName, |
|
|
const std::string & |
ilibVersion, |
|
|
const std::string & |
ilibHash, |
|
|
const std::string & |
iarchitecture |
|
) |
| |
|
inline |
LibraryInfo.
Constructor. Combines all the information required to identify a library. This constructor allows the user to define everything.
- Parameters
-
[in] | libName | Name of the library to add |
[in] | libVersion | Version of the library (Please use Fowler-Noll-Vo HasherFnv class in Combinatorics.h) |
[in] | libHash | Unique Hash of the library to add (Please use Fowler-Noll-Vo HasherFnv class in Combinatorics.h) |
[in] | architecture | architecture library was built for |
Definition at line 41 of file LibraryInfo.h.
Referenced by getMultiLibraryInfo(), and getUnknownLibraryInfo().
LibraryIdentification::LibraryInfo::LibraryInfo |
( |
const std::string & |
ilibHash | ) |
|
|
inline |
LibraryInfo.
WARNING: DEPRECATED. Doesn't work with the partitioner. Constructor. Combines all the information required to identify a library. This constructor constructs the hash, and all other library info, from a SgAsmGenericFile. Unfortunately, the name and version of the library is only availible from dynamic libraries, so it must be passed in here. WARNING: Currently Elf files only! WARNING: DEPRECATED. Doesn't work with the partitioner.
- Parameters
-
[in] | libName | Name of the library to add |
[in] | libVersion | Version of the library |
[in] | libraryFile | The library file we are storing LibraryInfo |
Constructor. Only takes the hash, Rest to be filled in from matching in the database.
- Parameters
-
[in] | libHash | Unique Hash of the library to add |
Definition at line 92 of file LibraryInfo.h.
static LibraryInfo LibraryIdentification::LibraryInfo::getUnknownLibraryInfo |
( |
| ) |
|
|
inlinestatic |
getUnknownLibraryInfo
Constructs and returns the special sentinal "Unknown
Library" instance for functions that couldn't be identified.
Definition at line 112 of file LibraryInfo.h.
References LibraryInfo().
static LibraryInfo LibraryIdentification::LibraryInfo::getMultiLibraryInfo |
( |
| ) |
|
|
inlinestatic |
getMultiLibraryInfo
Constructs and returns the special sentinal "Multi
Library" instance for functions that couldn't be uniquely identified. ie, a function with this hash appears in multiple libraries (probably with multiple names)
Definition at line 125 of file LibraryInfo.h.
References LibraryInfo().
std::string LibraryIdentification::LibraryInfo::toString |
( |
| ) |
|
|
inline |
toString
Human readable libary identifier
Definition at line 136 of file LibraryInfo.h.
operator<
Lessthan operator for sorting and recognizing duplicates
Definition at line 100 of file LibraryInfo.h.
The documentation for this class was generated from the following file: