#include <libraryIdentification.h>
Public Member Functions | |
| FunctionIdentification (std::string dbName) | |
| void | createTables () |
| void | set_function_match (const library_handle &handle, const std::string s) |
| void | set_function_match (const library_handle &handle, const SgUnsignedCharList &opcode_vector) |
| void | set_function_match (const library_handle &handle, const unsigned char *str, size_t str_length) |
| bool | get_function_match (library_handle &handle, const std::string s) const |
| bool | get_function_match (library_handle &handle, const SgUnsignedCharList &opcode_vector) const |
| bool | get_function_match (library_handle &handle, const unsigned char *str, size_t str_length) |
Private Attributes | |
| std::string | database_name |
| sqlite3x::sqlite3_connection | con |
| LibraryIdentification::FunctionIdentification::FunctionIdentification | ( | std::string | dbName | ) |
| void LibraryIdentification::FunctionIdentification::createTables | ( | ) |
| void LibraryIdentification::FunctionIdentification::set_function_match | ( | const library_handle & | handle, | |
| const std::string | s | |||
| ) |
| void LibraryIdentification::FunctionIdentification::set_function_match | ( | const library_handle & | handle, | |
| const SgUnsignedCharList & | opcode_vector | |||
| ) |
| void LibraryIdentification::FunctionIdentification::set_function_match | ( | const library_handle & | handle, | |
| const unsigned char * | str, | |||
| size_t | str_length | |||
| ) |
| bool LibraryIdentification::FunctionIdentification::get_function_match | ( | library_handle & | handle, | |
| const std::string | s | |||
| ) | const |
| bool LibraryIdentification::FunctionIdentification::get_function_match | ( | library_handle & | handle, | |
| const SgUnsignedCharList & | opcode_vector | |||
| ) | const |
| bool LibraryIdentification::FunctionIdentification::get_function_match | ( | library_handle & | handle, | |
| const unsigned char * | str, | |||
| size_t | str_length | |||
| ) |
std::string LibraryIdentification::FunctionIdentification::database_name [private] |
sqlite3x::sqlite3_connection LibraryIdentification::FunctionIdentification::con [private] |
1.4.7