Files
2025-10-06 00:14:04 -04:00

34 lines
1.5 KiB
Plaintext

==2061005== Memcheck, a memory error detector
==2061005== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==2061005== Using Valgrind-3.22.0 and LibVEX; rerun with -h for copyright info
==2061005== Command: ../y86 -a -d inputs/simple.o
==2061005==
01 00 00 01 10 00 01 00 00 00 00 00 45 4c 46 00
Mini-ELF version 1
Entry point 0x100
There are 1 program headers, starting at offset 16 (0x10)
There is no symbol table present
There is no string table present
Segment Offset Size VirtAddr Type Flags
00 0x0024 0x0017 0x0100 CODE R X
Contents of memory from 0100 to 0117:
0100 30 f0 68 24 00 00 00 00 00 00 30 f3 34 12 00 00
0110 00 00 00 00 60 03 00
Disassembly of executable contents:
0x100: | .pos 0x100 code
0x100: | _start:
0x100: 30 f0 68 24 00 00 00 00 00 00 | irmovq 0x2468, %rax
0x10a: 30 f3 34 12 00 00 00 00 00 00 | irmovq 0x1234, %rbx
0x114: 60 03 | addq %rax, %rbx
0x116: 00 | halt
==2061005==
==2061005== HEAP SUMMARY:
==2061005== in use at exit: 0 bytes in 0 blocks
==2061005== total heap usage: 3 allocs, 3 frees, 16,856 bytes allocated
==2061005==
==2061005== All heap blocks were freed -- no leaks are possible
==2061005==
==2061005== For lists of detected and suppressed errors, rerun with: -s
==2061005== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)