Combining LibAFL's QEMU patch with AMD SP's QEMU patch.
flowchart LR;
VanillaQemu["Vanilla QEMU"];
ASPQemu["AMD SP QEMU"];
LibAFLQemu["LibAFL QEMU"];
LibAFLPSPQemu{{"LibAFL + ASP QEMU\n(qemu-libafl-asp)"}};
VanillaQemu --> ASPQemu;
ASPQemu --> LibAFLPSPQemu;
VanillaQemu --> LibAFLQemu;
LibAFLQemu --> LibAFLPSPQemu;
- Setup remotes
git remote add qemu-asp [email protected]:pascalharp/qemu.git
git remote add qemu-libafl-bridge [email protected]:AFLplusplus/qemu-libafl-bridge.git
- Fetch remotes
git fetch qemu-libafl-bridge
git fetch qemu-asp
- Create branch for qemu-libafl-bridge base
git checkout -b base_qemu_libafl_bridge
- Merge LibAFL QEMU into branch
git merge ddb71cf --allow-unrelated-histories
Solve merge conflicts!
- Create branch for merged version with qemu-asp
git checkout -b merged_qemu_asp
- Merge ASP QEMU into repo
git merge remotes/qemu-asp/zentesla
Solve merge conflicts!
- Create branch for additional patches
git checkout -b additional_patches
-
Copy README.md from merge_instructions branch into main
-
Apply additinal patches
-
Merge into main branch
git checkout main
git merge merged_qemu_asp --allow-unrelated-histories