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

Build ELF parse at compile time using EverParse #1219

Merged
merged 5 commits into from
Jun 22, 2022

Conversation

Alan-Jowett
Copy link
Member

@Alan-Jowett Alan-Jowett commented Jun 14, 2022

Description

Invoke the Everparse generated validation prior to parsing the ELF file.

Testing

CI/CD

Documentation

NO

Resolves: #834

@Alan-Jowett Alan-Jowett changed the title Issue834 Build ELF parse at compile time using EverParse Jun 14, 2022
@codecov
Copy link

codecov bot commented Jun 14, 2022

Codecov Report

Merging #1219 (8093c65) into main (1fea5bb) will decrease coverage by 1.79%.
The diff coverage is 63.15%.

@@            Coverage Diff             @@
##             main    #1219      +/-   ##
==========================================
- Coverage   88.38%   86.58%   -1.80%     
==========================================
  Files         108      111       +3     
  Lines       18242    18651     +409     
==========================================
+ Hits        16123    16149      +26     
- Misses       2119     2502     +383     
Impacted Files Coverage Δ
tools/bpf2c/bpf2c.cpp 84.93% <16.66%> (-2.93%) ⬇️
libs/api/Verifier.cpp 72.55% <67.34%> (-1.41%) ⬇️
tests/end_to_end/end_to_end.cpp 97.59% <100.00%> (ø)
tests/end_to_end/test_helper.cpp 91.69% <0.00%> (ø)
x64/Release/EverParse.h 0.00% <0.00%> (ø)
x64/Release/Elf.c 0.00% <0.00%> (ø)
x64/Release/ElfWrapper.c 0.00% <0.00%> (ø)

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 1fea5bb...8093c65. Read the comment docs.

@Alan-Jowett
Copy link
Member Author

@shankarseal when you get a chance, could you please create a CMakeLists.txt file to build the spec.lib? I was unable to get cmake to build it correctly.

ebpf-for-windows.sln Outdated Show resolved Hide resolved
libs/api/Verifier.cpp Outdated Show resolved Hide resolved
libs/api/Verifier.cpp Outdated Show resolved Hide resolved
libs/spec/Elf.3d Outdated Show resolved Hide resolved
libs/api/Verifier.cpp Outdated Show resolved Hide resolved
@Alan-Jowett Alan-Jowett added the enhancement New feature or request label Jun 15, 2022
dthaler
dthaler previously approved these changes Jun 16, 2022
dthaler
dthaler previously approved these changes Jun 17, 2022
shankarseal
shankarseal previously approved these changes Jun 20, 2022
Alan Jowett added 3 commits June 20, 2022 15:23
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>
@dthaler dthaler dismissed stale reviews from shankarseal and themself via 35e623e June 20, 2022 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

spec/elf files should be generated from elf.3d at build time
3 participants