1#ifndef LIBRARY_IDENTIFICATION_H
2#define LIBRARY_IDENTIFICATION_H
3#include <featureTests.h>
4#ifdef ROSE_ENABLE_LIBRARY_IDENTIFICATION
6#include "LibraryInfo.h"
7#include "FunctionInfo.h"
15namespace LibraryIdentification {
32typedef std::map<LibraryInfo, std::set<FunctionInfo> > LibToFuncsMap;
48void generateLibraryIdentificationDataBase(
const std::string& databaseName,
49 const std::string& libraryName,
50 const std::string& libraryVersion,
51 const std::string& libraryHash,
53 enum DUPLICATE_OPTION dupOption = COMBINE)
54 ROSE_DEPRECATED(
"use Rose::BinaryAnalysis::LibraryIdentification::insertLibrary instead");
70LibToFuncsMap matchLibraryIdentificationDataBase(
const std::string& databaseName,
72 ROSE_DEPRECATED(
"use Rose::BinaryAnalysis::LibraryIdentification::search in a loop instead");
78void insertFunctionToMap(LibToFuncsMap& libToFuncsMap,
79 const LibraryInfo& libraryInfo,
80 const FunctionInfo& functionInfo);
const char * DUPLICATE_OPTION(int64_t)
Convert LibraryIdentification::DUPLICATE_OPTION enum constant to a string.