svf-lib 1.0.1150 → 1.0.1153
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
Binary file
|
|
@@ -230,10 +230,14 @@ public:
|
|
|
230
230
|
|
|
231
231
|
static void destory();
|
|
232
232
|
|
|
233
|
+
// Add an entry with the specified fields to the ExtAPI, which will be reflected immediately by further ExtAPI queries
|
|
234
|
+
void add_entry(const char* funName, extType type, bool overwrite_app_function);
|
|
235
|
+
|
|
233
236
|
// Get the corresponding name in ext_t, e.g. "EXT_ADDR" in {"addr", EXT_ADDR},
|
|
234
|
-
extf_t get_opName(std::string s);
|
|
237
|
+
extf_t get_opName(const std::string& s);
|
|
238
|
+
// opposite for extType
|
|
239
|
+
const std::string& extType_toString(extType type);
|
|
235
240
|
|
|
236
|
-
// Return the extf_t of (F).
|
|
237
241
|
// Get external function name, e.g "memcpy"
|
|
238
242
|
std::string get_name(const SVFFunction *F);
|
|
239
243
|
|
|
@@ -245,6 +249,7 @@ public:
|
|
|
245
249
|
|
|
246
250
|
// Get property of the operation, e.g. "EFT_A1R_A0R"
|
|
247
251
|
extType get_type(const SVF::SVFFunction *callee);
|
|
252
|
+
extType get_type(const std::string& funName);
|
|
248
253
|
|
|
249
254
|
// Get priority of he function, return value
|
|
250
255
|
// 0: Apply user-defined functions
|
|
Binary file
|
|
@@ -230,10 +230,14 @@ public:
|
|
|
230
230
|
|
|
231
231
|
static void destory();
|
|
232
232
|
|
|
233
|
+
// Add an entry with the specified fields to the ExtAPI, which will be reflected immediately by further ExtAPI queries
|
|
234
|
+
void add_entry(const char* funName, extType type, bool overwrite_app_function);
|
|
235
|
+
|
|
233
236
|
// Get the corresponding name in ext_t, e.g. "EXT_ADDR" in {"addr", EXT_ADDR},
|
|
234
|
-
extf_t get_opName(std::string s);
|
|
237
|
+
extf_t get_opName(const std::string& s);
|
|
238
|
+
// opposite for extType
|
|
239
|
+
const std::string& extType_toString(extType type);
|
|
235
240
|
|
|
236
|
-
// Return the extf_t of (F).
|
|
237
241
|
// Get external function name, e.g "memcpy"
|
|
238
242
|
std::string get_name(const SVFFunction *F);
|
|
239
243
|
|
|
@@ -245,6 +249,7 @@ public:
|
|
|
245
249
|
|
|
246
250
|
// Get property of the operation, e.g. "EFT_A1R_A0R"
|
|
247
251
|
extType get_type(const SVF::SVFFunction *callee);
|
|
252
|
+
extType get_type(const std::string& funName);
|
|
248
253
|
|
|
249
254
|
// Get priority of he function, return value
|
|
250
255
|
// 0: Apply user-defined functions
|