svf-lib 1.0.1371 → 1.0.1373
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
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
#include <string>
|
|
37
37
|
#include <map>
|
|
38
38
|
|
|
39
|
-
#define EXTAPI_JSON_PATH "/include/Util/ExtAPI.json"
|
|
39
|
+
#define EXTAPI_JSON_PATH "svf/include/Util/ExtAPI.json"
|
|
40
40
|
#define JSON_OPT_OVERWRITE "overwrite_app_function"
|
|
41
41
|
#define JSON_OPT_FUNCTIONTYPE "type"
|
|
42
42
|
|
|
@@ -336,4 +336,4 @@ public:
|
|
|
336
336
|
};
|
|
337
337
|
} // End namespace SVF
|
|
338
338
|
|
|
339
|
-
#endif
|
|
339
|
+
#endif
|
|
Binary file
|
|
@@ -412,27 +412,25 @@ template <> struct Hash<NodePair>
|
|
|
412
412
|
}
|
|
413
413
|
};
|
|
414
414
|
|
|
415
|
-
#
|
|
416
|
-
# ifndef NDBUG
|
|
415
|
+
#if !defined NDBUG && defined USE_SVF_DBOUT
|
|
417
416
|
// TODO: This comes from the following link
|
|
418
417
|
// https://github.com/llvm/llvm-project/blob/75e33f71c2dae584b13a7d1186ae0a038ba98838/llvm/include/llvm/Support/Debug.h#L64
|
|
419
418
|
// The original LLVM implementation makes use of type. But we can get that info,
|
|
420
419
|
// so we can't simulate the full behaviour for now.
|
|
421
|
-
#
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
#
|
|
427
|
-
#
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
# endif
|
|
420
|
+
# define SVF_DEBUG_WITH_TYPE(TYPE, X) \
|
|
421
|
+
do \
|
|
422
|
+
{ \
|
|
423
|
+
X; \
|
|
424
|
+
} while (false)
|
|
425
|
+
#else
|
|
426
|
+
# define SVF_DEBUG_WITH_TYPE(TYPE, X) \
|
|
427
|
+
do \
|
|
428
|
+
{ \
|
|
429
|
+
} while (false)
|
|
432
430
|
#endif
|
|
433
431
|
|
|
434
432
|
/// LLVM debug macros, define type of your DEBUG model of each pass
|
|
435
|
-
#define DBOUT(TYPE, X)
|
|
433
|
+
#define DBOUT(TYPE, X) SVF_DEBUG_WITH_TYPE(TYPE, X)
|
|
436
434
|
#define DOSTAT(X) X
|
|
437
435
|
#define DOTIMESTAT(X) X
|
|
438
436
|
|