cachepc

Prime+Probe cache-based side-channel attack on AMD SEV-SNP protected virtual machines
git clone https://git.sinitax.com/sinitax/cachepc
Log | Files | Refs | Submodules | README | sfeed.txt

disasm (202B)


      1#!/bin/sh
      2
      3if [ $# -lt 2 ]; then
      4	echo "Usage: guest_asm FILE FUNC"
      5	exit 1
      6fi
      7
      8if [ "$2" = "guest" ]; then
      9	objdump -D -b binary -m i8086 $1
     10else
     11	objdump -b binary -m i8086 --disassemble="$2" $1
     12fi
     13
     14