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

flamenco, fuzz: ELF loader fuzz target #1808

Merged
merged 1 commit into from
Jun 7, 2024
Merged

flamenco, fuzz: ELF loader fuzz target #1808

merged 1 commit into from
Jun 7, 2024

Conversation

ravyu-jump
Copy link
Contributor

No description provided.

@ravyu-jump ravyu-jump marked this pull request as ready for review May 15, 2024 16:39
@topointon-jump topointon-jump changed the title Elf fuzzer flamenco, fuzz: ELF loader fuzz target May 15, 2024
@ravyu-jump ravyu-jump marked this pull request as draft May 17, 2024 18:32
@ravyu-jump ravyu-jump marked this pull request as ready for review May 24, 2024 14:38
topointon-jump
topointon-jump previously approved these changes May 24, 2024
topointon-jump
topointon-jump previously approved these changes May 30, 2024
Copy link
Collaborator

@topointon-jump topointon-jump left a comment

Choose a reason for hiding this comment

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

Nice!

src/flamenco/runtime/tests/fd_exec_instr_test.c Outdated Show resolved Hide resolved
src/ballet/sbpf/fd_sbpf_loader.c Outdated Show resolved Hide resolved
topointon-jump
topointon-jump previously approved these changes Jun 5, 2024
For use with solfuzz

remove hardcoded syscall hashes

initial working calldests capture

switch to accepting ELFLoaderCtx protobuf messages

switch to full rodata comparison

address PR comments

clean up comments

cleanup protobuf

add extra checks and comments to elf loader

workaround for elf ctx binary misalignment

add fixtures runner

restructure to return incomplete effects on loader failure instead of 0

add logs to fixture runner

comments

fix elf loader test conditions

add elf loader fixture tests to CI

move alignment check to program->rodata

port over rodata section overlap check

log with FAIL for script to pickup failure in test_elf_loader.c

remove memcpy in fuzz harness

define rodata alignment in constant

add elf_sz field

deploy checks flag
@ravyu-jump ravyu-jump added this pull request to the merge queue Jun 7, 2024
Merged via the queue into main with commit dc72839 Jun 7, 2024
9 checks passed
@ravyu-jump ravyu-jump deleted the elf_fuzzer branch June 7, 2024 15:29
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

2 participants