svf-tools 1.0.403 → 1.0.404
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.
- package/SVF-doxygen/html/html/ExtAPI_8cpp_source.html +1 -1
- package/SVF-doxygen/html/html/ExtAPI_8h_source.html +1 -1
- package/SVF-doxygen/html/html/SVFIRBuilder_8cpp_source.html +1 -1
- package/SVF-doxygen/html/html/SVFIRBuilder_8h_source.html +5 -5
- package/SVF-doxygen/html/html/classSVF_1_1ExtAPI.html +3 -3
- package/SVF-doxygen/html/html/classSVF_1_1SVFIRBuilder.html +34 -34
- package/lib/SVF-FE/SVFIRBuilder.cpp +8 -1
- package/lib/Util/ExtAPI.cpp +13 -0
- package/package.json +1 -1
|
@@ -1124,7 +1124,14 @@ void SVFIRBuilder::handleExtCall(CallSite cs, const SVFFunction *callee)
|
|
|
1124
1124
|
}
|
|
1125
1125
|
break;
|
|
1126
1126
|
}
|
|
1127
|
-
case ExtAPI::EFT_L_A0:
|
|
1127
|
+
case ExtAPI::EFT_L_A0: {
|
|
1128
|
+
NodeID dstNode = getValueNode(inst);
|
|
1129
|
+
Value *src= cs.getArgument(0);
|
|
1130
|
+
NodeID srcNode = getValueNode(src);
|
|
1131
|
+
addCopyEdge(srcNode, dstNode);
|
|
1132
|
+
break;
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1128
1135
|
case ExtAPI::EFT_L_A1:
|
|
1129
1136
|
case ExtAPI::EFT_L_A2:
|
|
1130
1137
|
case ExtAPI::EFT_L_A8:
|
package/lib/Util/ExtAPI.cpp
CHANGED
|
@@ -709,6 +709,19 @@ static const ei_pair ei_pairs[]=
|
|
|
709
709
|
{"strrchr", ExtAPI::EFT_L_A0},
|
|
710
710
|
{"strstr", ExtAPI::EFT_L_A0},
|
|
711
711
|
{"tmpnam_r", ExtAPI::EFT_L_A0},
|
|
712
|
+
//cctype
|
|
713
|
+
{"isalnum", ExtAPI::EFT_L_A0},
|
|
714
|
+
{"isalpha", ExtAPI::EFT_L_A0},
|
|
715
|
+
{"isblank", ExtAPI::EFT_L_A0},
|
|
716
|
+
{"iscntrl", ExtAPI::EFT_L_A0},
|
|
717
|
+
{"isdigit", ExtAPI::EFT_L_A0},
|
|
718
|
+
{"isgraph", ExtAPI::EFT_L_A0},
|
|
719
|
+
{"islower", ExtAPI::EFT_L_A0},
|
|
720
|
+
{"isprint", ExtAPI::EFT_L_A0},
|
|
721
|
+
{"ispunct", ExtAPI::EFT_L_A0},
|
|
722
|
+
{"isspace", ExtAPI::EFT_L_A0},
|
|
723
|
+
{"isupper", ExtAPI::EFT_L_A0},
|
|
724
|
+
{"isxdigit", ExtAPI::EFT_L_A0},
|
|
712
725
|
{"asctime_r", ExtAPI::EFT_L_A1},
|
|
713
726
|
{"bsearch", ExtAPI::EFT_L_A1},
|
|
714
727
|
{"getmntent_r", ExtAPI::EFT_L_A1},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "svf-tools",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.404",
|
|
4
4
|
"description": "* <b>[TypeClone](https://github.com/SVF-tools/SVF/wiki/TypeClone) published in our [ECOOP paper](https://yuleisui.github.io/publications/ecoop20.pdf) is now available in SVF </b> * <b>SVF now uses a single script for its build. Just type [`source ./build.sh`](https://github.com/SVF-tools/SVF/blob/master/build.sh) in your terminal, that's it!</b> * <b>SVF now supports LLVM-10.0.0! </b> * <b>We thank [bsauce](https://github.com/bsauce) for writing a user manual of SVF ([link1](https://www.jianshu.com/p/068a08ec749c) and [link2](https://www.jianshu.com/p/777c30d4240e)) in Chinese </b> * <b>SVF now supports LLVM-9.0.0 (Thank [Byoungyoung Lee](https://github.com/SVF-tools/SVF/issues/142) for his help!). </b> * <b>SVF now supports a set of [field-sensitive pointer analyses](https://yuleisui.github.io/publications/sas2019a.pdf). </b> * <b>[Use SVF as an external lib](https://github.com/SVF-tools/SVF/wiki/Using-SVF-as-a-lib-in-your-own-tool) for your own project (Contributed by [Hongxu Chen](https://github.com/HongxuChen)). </b> * <b>SVF now supports LLVM-7.0.0. </b> * <b>SVF now supports Docker. [Try SVF in Docker](https://github.com/SVF-tools/SVF/wiki/Try-SVF-in-Docker)! </b> * <b>SVF now supports [LLVM-6.0.0](https://github.com/svf-tools/SVF/pull/38) (Contributed by [Jack Anthony](https://github.com/jackanth)). </b> * <b>SVF now supports [LLVM-4.0.0](https://github.com/svf-tools/SVF/pull/23) (Contributed by Jared Carlson. Thank [Jared](https://github.com/jcarlson23) and [Will](https://github.com/dtzWill) for their in-depth [discussions](https://github.com/svf-tools/SVF/pull/18) about updating SVF!) </b> * <b>SVF now supports analysis for C++ programs.</b> <br />",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|