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

consider multiple uses of heap object #1293

Merged
merged 1 commit into from
Dec 20, 2023
Merged

Conversation

Qcloud1223
Copy link
Contributor

@Qcloud1223 Qcloud1223 commented Dec 20, 2023

Solve problem described in #1289.

Sometimes a return value of heap allocation has multiple uses. We need to find out the one right next to it, and make sure it is a bitcast operation. This requires performing a scan over all uses and find out the last one, which corresponds to the first use in human readable IR.

Copy link

codecov bot commented Dec 20, 2023

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (0008685) 64.47% compared to head (9122f3d) 64.47%.
Report is 1 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1293   +/-   ##
=======================================
  Coverage   64.47%   64.47%           
=======================================
  Files         223      223           
  Lines       23831    23833    +2     
=======================================
+ Hits        15364    15366    +2     
  Misses       8467     8467           
Files Coverage Δ
svf-llvm/include/SVF-LLVM/LLVMUtil.h 73.68% <ø> (ø)
svf-llvm/lib/LLVMModule.cpp 82.66% <ø> (ø)
svf-llvm/lib/SVFIRBuilder.cpp 78.28% <100.00%> (ø)
svf-llvm/lib/LLVMUtil.cpp 75.83% <83.33%> (+0.09%) ⬆️
svf-llvm/lib/SymbolTableBuilder.cpp 86.48% <50.00%> (ø)

@yuleisui yuleisui merged commit 7d68ccb into SVF-tools:master Dec 20, 2023
5 checks passed
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.

2 participants