Skip to content
/ anagram Public

QEMU simulation backend and baremetal testsuite for the anagRAM attack family

License

Notifications You must be signed in to change notification settings

cs-t1/anagram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

anagram

QEMU simulation backend and baremetal testsuite for the anagRAM attack family

QEMU Setup instructions

With Nix

Open a devshell with the QEMU requirements and build custom QEMU:

nix-shell -E 'let pkgs = import <nixpkgs> {}; in pkgs.mkShell { inputsFrom = [ pkgs.qemu ]; }'
cd qemu
# Configure QEMU to the desired target
./configure --target-list=x86_64-softmmu --prefix=$(pwd)

# build
make -j 4

This makes the qemu binary available at qemu/build/qemu-system-x86_64.

Without Nix

Install the QEMU build-time dependencies. Then do

cd qemu
# Configure QEMU to the desired target
./configure --target-list=x86_64-softmmu --prefix=$(pwd)

# build
make -j 4

Kernel build and test instructions

With Nix

# Open main dev shell
nix develop

cd baremetal

nix-build

# Run
../qemu/build/qemu-system-x86_64 -cdrom result/bos.iso -m 32M

Without Nix

Have a decently recent enough version of i686-elf-gcc and do

cd baremetal

make

# Run
../qemu/build/qemu-system-x86_64 -cdrom build/bos.iso -m 32M

About

QEMU simulation backend and baremetal testsuite for the anagRAM attack family

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published