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

1st PR of more precise ObjTypeInfo #1255

Merged
merged 2 commits into from
Nov 27, 2023
Merged

Conversation

bjjwwang
Copy link
Contributor

@bjjwwang bjjwwang commented Nov 24, 2023

  1. add getByteSizeofObj() and isConstantByteSize() in SymbolTableInfo.h/cpp
  2. add annotation to ALLOC_RET and ALLOC_ARGi extapis in extapi.c
  3. add analyzeHeapAllocByteSize() in SymbolTableBuilder.h/cpp to handle ALLOC_RET and ALLOC_ARGi

Copy link

codecov bot commented Nov 24, 2023

Codecov Report

Merging #1255 (434f138) into master (e8ce5b8) will increase coverage by 0.04%.
Report is 3 commits behind head on master.
The diff coverage is 76.19%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1255      +/-   ##
==========================================
+ Coverage   64.45%   64.50%   +0.04%     
==========================================
  Files         223      223              
  Lines       23731    23767      +36     
==========================================
+ Hits        15296    15331      +35     
- Misses       8435     8436       +1     
Files Coverage Δ
svf-llvm/include/SVF-LLVM/SymbolTableBuilder.h 100.00% <ø> (ø)
svf/include/SVFIR/SymbolTableInfo.h 92.30% <33.33%> (-2.86%) ⬇️
svf-llvm/lib/SymbolTableBuilder.cpp 86.48% <88.57%> (+0.49%) ⬆️
svf/lib/SVFIR/SymbolTableInfo.cpp 53.05% <0.00%> (-1.02%) ⬇️

... and 3 files with indirect coverage changes

@bjjwwang bjjwwang force-pushed the master branch 2 times, most recently from 1ed2779 to d36fd62 Compare November 26, 2023 20:55
@bjjwwang bjjwwang changed the title enhance AddrStmt and MaxByteLimit Option enhance ObjTypeInfo and Memobj with LLVM Byte Size Nov 27, 2023
….h/cpp

2) add annotation to ALLOC_RET and ALLOC_ARGi extapis in extapi.c
3) add analyzeHeapAllocByteSize() in SymbolTableBuilder.h/cpp to handle ALLOC_RET and ALLOC_ARGi
@bjjwwang bjjwwang changed the title enhance ObjTypeInfo and Memobj with LLVM Byte Size 1st PR of more precise ObjTypeInfo Nov 27, 2023
@yuleisui yuleisui merged commit 0e6935b into SVF-tools:master Nov 27, 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