svf-lib 1.0.2586 → 1.0.2588
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.
|
@@ -48,12 +48,19 @@ public:
|
|
|
48
48
|
*/
|
|
49
49
|
enum ExtAPIType { UNCLASSIFIED, MEMCPY, MEMSET, STRCPY, STRCAT };
|
|
50
50
|
|
|
51
|
+
// Only AbstractInterpretation may construct the single owned AbsExtAPI
|
|
52
|
+
// instance (reachable through its private getUtils()). Keeping the
|
|
53
|
+
// constructor private prevents external callers from creating their own
|
|
54
|
+
// AbsExtAPI and invoking handleExtAPI()/handleMemcpy()/... directly.
|
|
55
|
+
friend class AbstractInterpretation;
|
|
56
|
+
private:
|
|
51
57
|
/**
|
|
52
58
|
* @brief Constructor for AbsExtAPI.
|
|
53
59
|
* @param ae Reference to the AbstractInterpretation instance.
|
|
54
60
|
*/
|
|
55
61
|
AbsExtAPI(AbstractInterpretation* ae);
|
|
56
62
|
|
|
63
|
+
public:
|
|
57
64
|
/**
|
|
58
65
|
* @brief Initializes the external function map.
|
|
59
66
|
*/
|
|
@@ -48,12 +48,19 @@ public:
|
|
|
48
48
|
*/
|
|
49
49
|
enum ExtAPIType { UNCLASSIFIED, MEMCPY, MEMSET, STRCPY, STRCAT };
|
|
50
50
|
|
|
51
|
+
// Only AbstractInterpretation may construct the single owned AbsExtAPI
|
|
52
|
+
// instance (reachable through its private getUtils()). Keeping the
|
|
53
|
+
// constructor private prevents external callers from creating their own
|
|
54
|
+
// AbsExtAPI and invoking handleExtAPI()/handleMemcpy()/... directly.
|
|
55
|
+
friend class AbstractInterpretation;
|
|
56
|
+
private:
|
|
51
57
|
/**
|
|
52
58
|
* @brief Constructor for AbsExtAPI.
|
|
53
59
|
* @param ae Reference to the AbstractInterpretation instance.
|
|
54
60
|
*/
|
|
55
61
|
AbsExtAPI(AbstractInterpretation* ae);
|
|
56
62
|
|
|
63
|
+
public:
|
|
57
64
|
/**
|
|
58
65
|
* @brief Initializes the external function map.
|
|
59
66
|
*/
|