-
Notifications
You must be signed in to change notification settings - Fork 477
graph db support #1756
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
graph db support #1756
Conversation
- add ICFG edges & nodes to graoh db [tested] add options update callgraph & icfg insert method addSVFTypeNode2db[tested] add struInfo2db [tested] fix ICFGNode err [tested] update SVFFunctionType (add params_types_vec to the node) - add PAGNode & PAGEdge to db [tested] - fixed cross join gql [tested] update bbGraph Insertion [tested] update bb insertion [tested] update bbEdge insertion [tested]
- read SVFType from db - init PAGNode from db - read SVFBBGraph from db - read ICFG from db read ICFG edge from db [tested & checked] - read & write pag edge [tested] - fixed stat err
- rename graphdb related function name refactoring node/edge db insertStmt update ICFGNodes attrubuites
update
update
update update update test ci update ci update ci update ci update ci updtae ci update update graphDBClient and cmake configuration update clean db client clean code update
reslove confilt
Codecov Report❌ Patch coverage is
❌ Your project check has failed because the head coverage (61.83%) is below the target coverage (63.50%). You can increase the head coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## master #1756 +/- ##
==========================================
- Coverage 63.79% 61.83% -1.96%
==========================================
Files 244 243 -1
Lines 25980 24527 -1453
Branches 4581 4598 +17
==========================================
- Hits 16573 15166 -1407
+ Misses 9407 9361 -46
🚀 New features to boost your workflow:
|
|
|
||
| public: | ||
| SVFIntegerType(u32_t i, u32_t byteSize = 1) : SVFType(true, SVFIntegerTy, i, byteSize) {} | ||
| SVFIntegerType(u32_t i, u32_t byteSize, bool isSingleValTy,short signAndWidth) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you make sure all the constructors you added are all made to protected or private?
a63074e to
7cca8ab
Compare
yuleisui
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- remove getVarType in BaseObject and handle functionobject var in SymbolTableBuilder.cpp:657
- remove Options::ReadFromDB()
| static const Option<bool> DiffPts; | ||
| static Option<bool> DetectPWC; | ||
| static const Option<bool> VtableInSVFIR; | ||
| static const Option<bool> Write2DB; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove these two options.
| { | ||
| return it->second; | ||
| } | ||
| totalCallSiteNum++; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this can be static and updated in GraphDB project.
No description provided.