graph db support#1756
Open
JasonZhongZexin wants to merge 19 commits intoSVF-tools:masterfrom
Open
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:
|
yuleisui
reviewed
Oct 5, 2025
|
|
||
| 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) |
Collaborator
There was a problem hiding this comment.
could you make sure all the constructors you added are all made to protected or private?
yuleisui
reviewed
Oct 5, 2025
yuleisui
reviewed
Oct 5, 2025
yuleisui
reviewed
Oct 5, 2025
yuleisui
reviewed
Oct 5, 2025
yuleisui
reviewed
Oct 5, 2025
a63074e to
7cca8ab
Compare
yuleisui
reviewed
Oct 28, 2025
Collaborator
yuleisui
left a comment
There was a problem hiding this comment.
- remove getVarType in BaseObject and handle functionobject var in SymbolTableBuilder.cpp:657
- remove Options::ReadFromDB()
yuleisui
reviewed
Oct 28, 2025
yuleisui
reviewed
Oct 28, 2025
| static const Option<bool> DiffPts; | ||
| static Option<bool> DetectPWC; | ||
| static const Option<bool> VtableInSVFIR; | ||
| static const Option<bool> Write2DB; |
Collaborator
There was a problem hiding this comment.
remove these two options.
yuleisui
reviewed
Oct 28, 2025
| { | ||
| return it->second; | ||
| } | ||
| totalCallSiteNum++; |
Collaborator
There was a problem hiding this comment.
this can be static and updated in GraphDB project.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.