Skip to content
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

Hwg merge svf func call graph node #1553

Conversation

Geoffrey1014
Copy link
Contributor

change class CallGraph & CallGraphNode to PTACallGraph &PTACallGraphNode ,
create new class CallGraph,
add callgraph field in SVFIR,
remove SVFModule::FunctionSet
CallGraphNode include a SVFFunction field

Copy link

codecov bot commented Sep 25, 2024

Codecov Report

Attention: Patch coverage is 76.52370% with 104 lines in your changes missing coverage. Please review.

Project coverage is 62.61%. Comparing base (6a54cf4) to head (dc36175).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
svf/lib/Graphs/PTACallGraph.cpp 73.04% 31 Missing ⚠️
svf/lib/MTA/LockAnalysis.cpp 15.00% 17 Missing ⚠️
svf/lib/MTA/MHP.cpp 44.44% 10 Missing ⚠️
svf/lib/MemoryModel/PointerAnalysis.cpp 68.75% 5 Missing ⚠️
svf/include/Graphs/PTACallGraph.h 92.15% 4 Missing ⚠️
svf/lib/DDA/DDAPass.cpp 0.00% 4 Missing ⚠️
svf/lib/Graphs/CallGraph.cpp 55.55% 4 Missing ⚠️
svf/lib/Graphs/SVFGReadWrite.cpp 0.00% 4 Missing ⚠️
svf/lib/Util/SVFUtil.cpp 42.85% 4 Missing ⚠️
svf/include/Graphs/ThreadCallGraph.h 40.00% 3 Missing ⚠️
... and 10 more
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1553      +/-   ##
==========================================
- Coverage   62.88%   62.61%   -0.27%     
==========================================
  Files         245      249       +4     
  Lines       25681    25823     +142     
  Branches     4505     4528      +23     
==========================================
+ Hits        16149    16169      +20     
- Misses       9532     9654     +122     
Files with missing lines Coverage Δ
svf-llvm/include/SVF-LLVM/LLVMModule.h 93.87% <ø> (ø)
svf-llvm/include/SVF-LLVM/SVFIRBuilder.h 90.09% <ø> (ø)
svf-llvm/lib/LLVMModule.cpp 83.72% <100.00%> (+0.12%) ⬆️
svf-llvm/lib/SVFIRBuilder.cpp 84.06% <100.00%> (+0.14%) ⬆️
svf-llvm/lib/SVFIRExtAPI.cpp 84.74% <ø> (ø)
svf-llvm/tools/AE/ae.cpp 55.89% <100.00%> (ø)
svf-llvm/tools/Example/svf-ex.cpp 96.96% <100.00%> (ø)
svf/include/AE/Svfexe/AbstractInterpretation.h 96.00% <ø> (ø)
svf/include/DDA/ContextDDA.h 73.33% <ø> (ø)
svf/include/DDA/DDAVFSolver.h 90.11% <100.00%> (+0.03%) ⬆️
... and 61 more

... and 1 file with indirect coverage changes

add callGraphNode field in SVFArgument
@@ -40,6 +40,8 @@
#include "SVFIR/SVFValue.h"
#include "Util/Options.h"
#include "Util/SVFUtil.h"
//#include "Graphs/CallGraph.h"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants