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

Reject elf malformed section #1189

Merged

Conversation

Alan-Jowett
Copy link
Member

Description

Verify all sections returned by ELFIO prior to use.

Testing

CI/CD

Documentation

No.

Alan Jowett added 2 commits June 9, 2022 11:41
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
@Alan-Jowett Alan-Jowett force-pushed the reject_elf_malformed_section branch from aadfb53 to 798fc29 Compare June 9, 2022 20:13
@codecov
Copy link

codecov bot commented Jun 9, 2022

Codecov Report

Merging #1189 (b03b9ab) into main (4cd6508) will increase coverage by 0.02%.
The diff coverage is 97.29%.

@@            Coverage Diff             @@
##             main    #1189      +/-   ##
==========================================
+ Coverage   88.11%   88.14%   +0.02%     
==========================================
  Files          99       99              
  Lines       17237    17252      +15     
==========================================
+ Hits        15188    15206      +18     
+ Misses       2049     2046       -3     
Impacted Files Coverage Δ
tools/bpf2c/bpf_code_generator.cpp 96.25% <97.29%> (+0.52%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4cd6508...b03b9ab. Read the comment docs.

@Alan-Jowett Alan-Jowett merged commit e870a29 into microsoft:main Jun 9, 2022
@Alan-Jowett Alan-Jowett deleted the reject_elf_malformed_section branch June 9, 2022 21:16
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.

None yet

3 participants