Static Value-Flow Analysis
|
#include <ExtAPI.h>
Public Member Functions | |
std::string | getExtBcPath () |
std::string | getExtFuncAnnotation (const SVFFunction *fun, const std::string &funcAnnotation) |
const std::vector< std::string > & | getExtFuncAnnotations (const SVFFunction *fun) |
bool | hasExtFuncAnnotation (const SVFFunction *fun, const std::string &funcAnnotation) |
bool | has_static (const SVFFunction *F) |
bool | is_memcpy (const SVFFunction *F) |
bool | is_memset (const SVFFunction *F) |
bool | is_alloc (const SVFFunction *F) |
bool | is_arg_alloc (const SVFFunction *F) |
bool | is_alloc_stack_ret (const SVFFunction *F) |
s32_t | get_alloc_arg_pos (const SVFFunction *F) |
bool | is_realloc (const SVFFunction *F) |
bool | is_ext (const SVFFunction *F) |
Static Public Member Functions | |
static ExtAPI * | getExtAPI () |
static void | destory () |
static bool | setExtBcPath (const std::string &path) |
Private Member Functions | |
ExtAPI ()=default | |
void | setExtFuncAnnotations (const SVFFunction *fun, const std::vector< std::string > &funcAnnotations) |
Private Attributes | |
Map< const SVFFunction *, std::vector< std::string > > | func2Annotations |
Static Private Attributes | |
static ExtAPI * | extOp = nullptr |
static std::string | extBcPath = "" |
Friends | |
class | LLVMModuleSet |
|
privatedefault |
|
static |
Definition at line 51 of file ExtAPI.cpp.
s32_t ExtAPI::get_alloc_arg_pos | ( | const SVFFunction * | F | ) |
Definition at line 234 of file ExtAPI.cpp.
|
static |
Definition at line 42 of file ExtAPI.cpp.
std::string ExtAPI::getExtBcPath | ( | ) |
Definition at line 119 of file ExtAPI.cpp.
std::string ExtAPI::getExtFuncAnnotation | ( | const SVFFunction * | fun, |
const std::string & | funcAnnotation | ||
) |
Definition at line 183 of file ExtAPI.cpp.
const std::vector< std::string > & ExtAPI::getExtFuncAnnotations | ( | const SVFFunction * | fun | ) |
Definition at line 196 of file ExtAPI.cpp.
bool SVF::ExtAPI::has_static | ( | const SVFFunction * | F | ) |
bool ExtAPI::hasExtFuncAnnotation | ( | const SVFFunction * | fun, |
const std::string & | funcAnnotation | ||
) |
Definition at line 170 of file ExtAPI.cpp.
bool ExtAPI::is_alloc | ( | const SVFFunction * | F | ) |
Definition at line 217 of file ExtAPI.cpp.
bool ExtAPI::is_alloc_stack_ret | ( | const SVFFunction * | F | ) |
Definition at line 228 of file ExtAPI.cpp.
bool ExtAPI::is_arg_alloc | ( | const SVFFunction * | F | ) |
Definition at line 223 of file ExtAPI.cpp.
bool ExtAPI::is_ext | ( | const SVFFunction * | F | ) |
Definition at line 258 of file ExtAPI.cpp.
bool ExtAPI::is_memcpy | ( | const SVFFunction * | F | ) |
Definition at line 205 of file ExtAPI.cpp.
bool ExtAPI::is_memset | ( | const SVFFunction * | F | ) |
Definition at line 212 of file ExtAPI.cpp.
bool ExtAPI::is_realloc | ( | const SVFFunction * | F | ) |
Definition at line 250 of file ExtAPI.cpp.
|
private |
Definition at line 164 of file ExtAPI.cpp.
|
friend |
|
private |