mirror of
https://github.com/GaloisInc/macaw.git
synced 2024-12-02 10:54:04 +03:00
1 line
9.0 KiB
Plaintext
1 line
9.0 KiB
Plaintext
|
Expected {expBinaryName = "tests/samples/switching.x86.exe", expEntryPoints = [EntryPoint (Address {addrSegmentBase = 0, addrSegmentOffset = 4194304, addrSegoffOffset = 468, addrPretty = "0x4001d4"}),EntryPoint (Address {addrSegmentBase = 0, addrSegmentOffset = 4194304, addrSegoffOffset = 351, addrPretty = "0x40015f"}),EntryPoint (Address {addrSegmentBase = 0, addrSegmentOffset = 4194304, addrSegoffOffset = 468, addrPretty = "0x4001d4"}),EntryPoint (Address {addrSegmentBase = 0, addrSegmentOffset = 4194304, addrSegoffOffset = 344, addrPretty = "0x400158"})], expFunctions = [Function (Address {addrSegmentBase = 0, addrSegmentOffset = 4194304, addrSegoffOffset = 344, addrPretty = "0x400158"}) [Block (Address {addrSegmentBase = 0, addrSegmentOffset = 4194304, addrSegoffOffset = 344, addrPretty = "0x400158"}) "StatementList {stmtsIdent = 0, stmtsNonterm = [# 0x0 push rbp,r4 := (bv_add rsp_0 (0xfffffffffffffff8 :: [64])),write_mem r4 rbp_0,# 0x400158: {rip => 0x400159\n ;rsp => r4},# 0x1 mov rbp,rsp,# 0x400159: {rip => 0x40015c\n ;rbp => r4},# 0x4 nop,# 0x40015c: {rip => 0x40015d},# 0x5 pop rbp,r5 := read_mem r4 (bvle 8),# 0x40015d: {rip => 0x40015e\n ;rsp => rsp_0\n ;rbp => r5},# 0x6 ret,r6 := read_mem rsp_0 (bvle 8),r7 := (bv_add rsp_0 (0x8 :: [64])),# 0x40015e: {rip => r6\n ;rsp => r7}], stmtsTerm = return\n { rip = r6\n , rsp = r7\n , rbp = r5\n , df = false\n , x87top = 0x7 :: [3]\n }, stmtsAbsState = registers:\n { rip = code {0x400158}\n , rsp = {rsp_0x400158 + 0}\n , df = False\n , x87top = finset {7}\n }\nstack:\n 0x0 := return_addr}"],Function (Address {addrSegmentBase = 0, addrSegmentOffset = 4194304, addrSegoffOffset = 351, addrPretty = "0x40015f"}) [Block (Address {addrSegmentBase = 0, addrSegmentOffset = 4194304, addrSegoffOffset = 351, addrPretty = "0x40015f"}) "StatementList {stmtsIdent = 0, stmtsNonterm = [# 0x0 push rbp,r15 := (bv_add rsp_0 (0xfffffffffffffff8 :: [64])),write_mem r15 rbp_0,# 0x40015f: {rip => 0x400160\n ;rsp => r15},# 0x1 mov rbp,rsp,# 0x400160: {rip => 0x400163\n ;rbp => r15},# 0x4 mov QWORD PTR [rbp-0x8],rdi,r16 := (bv_add rsp_0 (0xfffffffffffffff0 :: [64])),write_mem r16 rdi_0,# 0x400163: {rip => 0x400167},# 0x8 mov QWORD PTR [rbp-0x10],rsi,r17 := (bv_add rsp_0 (0xffffffffffffffe8 :: [64])),write_mem r17 rsi_0,# 0x400167: {rip => 0x40016b},# 0xc cmp QWORD PTR [rbp-0x8],0x5,r18 := read_mem r16 (bvle 8),r19 := (ssbb_overflows r18 (0x5 :: [64]) false),r20 := (trunc r18 4),r21 := (bv_ult r20 (0x5 :: [4])),r22 := (bv_ult r18 (0x5 :: [64])),r23 := (bv_add r18 (0xfffffffffffffffb :: [64])),r24 := (bv_slt r23 (0x0 :: [64])),r25 := (eq r18 (0x5 :: [64])),r26 := (trunc r23 8),r27 := (even_parity r26),# 0x40016b: {rip => 0x400170\n ;cf => r22\n ;pf => r27\n ;af => r21\n ;zf => r25\n ;sf => r24\n ;of => r19},# 0x11 ja pc+5b,r28 := (bv_ult (0x5 :: [64]) r18),r29 := (mux r28 (0x4001cd) (0x400172)),# 0x400170: {rip => r29}], stmtsTerm = ite r28\n{\n \n jump 0x4001cd\n { rip = 0x4001cd\n , rsp = r15\n , rbp = r15\n , cf = r22\n , pf = r27\n , af = r21\n , zf = r25\n , sf = r24\n , df = false\n , of = r19\n , x87top = 0x7 :: [3]\n }\n}\n{\n \n jump 0x400172\n { rip = 0x400172\n , rsp = r15\n , rbp = r15\n , cf = r22\n , pf = r27\n , af = r21\n , zf = r25\n , sf = r24\n , df = false\n , of = r19\n , x87top = 0x7 :: [3]\n }\n}, stmtsAbsState = registers:\n { rip = code {0x40015f}\n , rsp = {rsp_0x40015f + 0}\n , df = False\n , x87top = finset {7}\n }\nstack:\n 0x0 := return_addr}",Block (Address {addrSegmentBase = 0, addrSegmentOffset = 4194304, addrSegoffOffset = 370, addrPretty = "0x400172"}) "StatementList {stmtsIdent = 0, stmtsNonterm = [# 0x0 mov rax,QWORD PTR [rbp-0x8],r47 := (bv_add rbp_0 (0xfffffffffffffff8 :: [64])),r48 := read_mem r47 (bvle 8),# 0x400172: {rip => 0x400176\n ;rax => r48},# 0x4 lea rdx,[rax*4],r49 := (bv_mu
|