-
Build S2E as usual
make -f ../s2e/Makefile all-release all-debug
-
Build qemu from https://github.com/S2E/qemu (You will need to use this qemu further)
git clone https://github.com/S2E/qemu mkdir s2e-qemu-build cd s2e-qemu-build ../s2e-qemu/configure --enable-debug --disable-werror --target-list="i386-softmmu x86_64-softmmu" --disable-docs make export QEMU_BUILD=/path/to/qemu-build
-
Run libs2e in non-S2E mode
LD_PRELOAD=${S2E_BUILD}/libs2e-release/x86_64-softmmu/libs2e.so \ ${QEMU_BUILD}/x86_64-softmmu/qemu-system-x86_64 -drive file=windows7.raw.s2e,cache=writeback,format=s2e -m 2G -enable-kvm
-
Run libs2e in S2E mode
export S2E_CONFIG=s2e-config.lua export S2E_SHARED_DIR=${S2E_BUILD}/libs2e-release/x86_64-s2e-softmmu/ LD_PRELOAD=${S2E_BUILD}/libs2e-release/x86_64-s2e-softmmu/libs2e.so \ ${QEMU_BUILD}/x86_64-softmmu/qemu-system-x86_64 -drive file=windows7.raw.s2e,cache=writeback,format=s2e -m 2G -enable-kvm -net none -loadvm ready
This repository has been archived by the owner on Feb 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
libs2e.so
License
S2E/libs2e
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
libs2e.so
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published