LibraryIdentification Namespace Reference

Classes

class  library_handle
class  FunctionIdentification
class  FlattenAST
class  FlattenAST_SynthesizedAttribute
class  FlattenAST_AndResetImmediateValues

Functions

void generateLibraryIdentificationDataBase (std::string databaseName, SgProject *project)
void matchAgainstLibraryIdentificationDataBase (std::string databaseName, SgProject *project)
void libraryIdentificationDataBaseSupport (std::string databaseName, SgProject *project, bool generate_database)
void testForDuplicateEntries (const std::vector< SgUnsignedCharList > &functionOpcodeList)
void set_function_match (const library_handle &handle, const std::string &data)
bool get_function_match (library_handle &handle, const std::string &data)
SgUnsignedCharList generateOpCodeVector (SgAsmInterpretation *asmInterpretation, SgNode *node, size_t &startOffset, size_t &endOffset)
 This function calls the traversal defined by the FlattenAST class.
void write_database (FunctionIdentification &ident, const std::string &fileName, const std::string &functionName, size_t startOffset, size_t endOffset, const SgUnsignedCharList &s)
bool match_database (const FunctionIdentification &ident, std::string &fileName, std::string &functionName, size_t &startOffset, size_t &endOffset, const SgUnsignedCharList &s)

Function Documentation

void LibraryIdentification::generateLibraryIdentificationDataBase ( std::string  databaseName,
SgProject project 
)
void LibraryIdentification::matchAgainstLibraryIdentificationDataBase ( std::string  databaseName,
SgProject project 
)
void LibraryIdentification::libraryIdentificationDataBaseSupport ( std::string  databaseName,
SgProject project,
bool  generate_database 
)
void LibraryIdentification::testForDuplicateEntries ( const std::vector< SgUnsignedCharList > &  functionOpcodeList  ) 
void LibraryIdentification::set_function_match ( const library_handle &  handle,
const std::string &  data 
)
bool LibraryIdentification::get_function_match ( library_handle &  handle,
const std::string &  data 
)
SgUnsignedCharList LibraryIdentification::generateOpCodeVector ( SgAsmInterpretation asmInterpretation,
SgNode node,
size_t &  startOffset,
size_t &  endOffset 
)

This function calls the traversal defined by the FlattenAST class.

void LibraryIdentification::write_database ( FunctionIdentification &  ident,
const std::string &  fileName,
const std::string &  functionName,
size_t  startOffset,
size_t  endOffset,
const SgUnsignedCharList s 
)
bool LibraryIdentification::match_database ( const FunctionIdentification &  ident,
std::string &  fileName,
std::string &  functionName,
size_t &  startOffset,
size_t &  endOffset,
const SgUnsignedCharList s 
)

Generated on 23 Sep 2015 for ROSE by  doxygen 1.6.1