Skip to content

Chaffx64 - Incorporating the Framework, NOT fully integrated just yet.#85

Draft
AndrewQuijano wants to merge 82 commits into
masterfrom
chaffx64
Draft

Chaffx64 - Incorporating the Framework, NOT fully integrated just yet.#85
AndrewQuijano wants to merge 82 commits into
masterfrom
chaffx64

Conversation

@AndrewQuijano

@AndrewQuijano AndrewQuijano commented Dec 2, 2025

Copy link
Copy Markdown
Collaborator

Your checklist for this pull request

  • I've documented or updated the documentation of every function and struct this PR changes.
  • I've added tests that prove my fix is effective or that my feature works (if possible)

Detailed description

The objective is to merge the Chaff bugs into the main branch. The ideal is to have LAVA and Chaff bugs injected simultaneously. Here is the paper.

Links to refer to Zhenghao's code:

This is on his Chaff Repo

HighW4y2H3ll/chaff@master...x64

HighW4y2H3ll/chaff@61faa5d...master

Original FIB:
https://github.com/HighW4y2H3ll/chaff/blob/master/tools/fbi/src/find_bug_inj.cpp


Note: I do NOT attempt to re-implement the heap-based overflows chaff bug, as this requires glibc 2.24, which uses a really old heap allocator and is therefore difficult to replicate with modern compilers. In a future PR, I will attempt to determine whether there is a generalized way, regardless of the heap allocator, to trigger this chaff bug. However, this will be attempted perhaps in the second paper where I have more time.

...

Test plan

Unfortunately, this PR got too big. I will have most of the code implementing it ready, but NOT activated just yet.

I want to first kill a bit more tech debt by de-duplicating a few more functions and the LavaPath class.

Then I will also work on getting other binaries working, e.g., file, as well as the other binaries from the Chaff Bug paper.

Once that is done, I'll add CI/CD to confirm the Random Concolic execution and Chaff bugs, while I wait for a mentor to help me cross the finish line
...

Closing issues

N/A

...

@github-actions github-actions Bot added Lava-Core LAVA C/C++ code Documentation LAVA documentation labels Dec 2, 2025
@github-actions github-actions Bot added the Pyroclastic Python LAVA code label Jan 22, 2026
@github-actions github-actions Bot removed the Documentation LAVA documentation label Jan 22, 2026
@AndrewQuijano AndrewQuijano force-pushed the chaffx64 branch 2 times, most recently from d903484 to b50de35 Compare January 25, 2026 23:26
@AndrewQuijano AndrewQuijano force-pushed the chaffx64 branch 2 times, most recently from 1669043 to 58ee723 Compare February 1, 2026 01:40
@AndrewQuijano AndrewQuijano force-pushed the chaffx64 branch 2 times, most recently from cfd7e97 to a1264e4 Compare May 30, 2026 16:26
@AndrewQuijano AndrewQuijano changed the title Chaffx64 Chaffx64 - Incorporating the Framework, NOT fully integrated just yet. May 30, 2026
@github-actions github-actions Bot removed the Pyroclastic Python LAVA code label May 31, 2026
@github-actions github-actions Bot added the Pyroclastic Python LAVA code label May 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Lava-Core LAVA C/C++ code Pyroclastic Python LAVA code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants