Skip to content

Commit

Permalink
Modified test_single_gadget script
Browse files Browse the repository at this point in the history
  • Loading branch information
Boyan-MILANOV committed Oct 5, 2018
1 parent e0033d9 commit 8ebe17f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/test_single_gadget.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,16 @@
# Boucle infinie 39\xc8\x19\xc0\x83\xd8\xff\x5e\x5b\xc3
#"\x01\x41\x88\x48\xff\x49\x83\xc2\x01\x49"
#\x01\x41\x88\x48\xff\x49\x83
# \x18\x09\x00\x00\x11\x00\x1a\x00\xc2\x7b\x26 erreur Extract invalide
# \x48\x89\xF7\xFF\xE0 Erreur calcul du spInc
# "\x89\x08\x89\xD0\xC3" Condition not passed (32bits)

asm = "\x0F\x85\x00\x00\x00\x00\x48\x89\xC8\xC3"
Arch.currentArch = Arch.ArchX64
asm = "\x89\x08\x89\xD0\xC3"
Arch.currentArch = Arch.ArchX86
#try:
gadget = Gadget([0], asm)
print(gadget.semantics)
print(gadget.spInc)


#except Exception as e:
Expand Down

0 comments on commit 8ebe17f

Please sign in to comment.