41 lines
1.7 KiB
Plaintext
41 lines
1.7 KiB
Plaintext
|
|
==2062084== Memcheck, a memory error detector
|
||
|
|
==2062084== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
|
||
|
|
==2062084== Using Valgrind-3.22.0 and LibVEX; rerun with -h for copyright info
|
||
|
|
==2062084== Command: ../y86 -a -d inputs/unaligned.o
|
||
|
|
==2062084==
|
||
|
|
01 00 18 01 10 00 03 00 00 00 00 00 45 4c 46 00
|
||
|
|
Mini-ELF version 1
|
||
|
|
Entry point 0x118
|
||
|
|
There are 3 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 0x004c 0x0009 0x0000 CODE R X
|
||
|
|
01 0x0055 0x0002 0x0118 CODE R X
|
||
|
|
02 0x0057 0x0008 0x013a DATA RW
|
||
|
|
Contents of memory from 0000 to 0009:
|
||
|
|
0000 70 18 01 00 00 00 00 00 00
|
||
|
|
Contents of memory from 0118 to 011a:
|
||
|
|
0110 10 00
|
||
|
|
Contents of memory from 013a to 0142:
|
||
|
|
0130 39 30 00 00 00 00
|
||
|
|
0140 00 00
|
||
|
|
Disassembly of executable contents:
|
||
|
|
0x000: | .pos 0x000 code
|
||
|
|
0x000: 70 18 01 00 00 00 00 00 00 | jmp 0x118
|
||
|
|
|
||
|
|
0x118: | .pos 0x118 code
|
||
|
|
0x118: | _start:
|
||
|
|
0x118: 10 | nop
|
||
|
|
0x119: 00 | halt
|
||
|
|
|
||
|
|
==2062084==
|
||
|
|
==2062084== HEAP SUMMARY:
|
||
|
|
==2062084== in use at exit: 0 bytes in 0 blocks
|
||
|
|
==2062084== total heap usage: 3 allocs, 3 frees, 16,856 bytes allocated
|
||
|
|
==2062084==
|
||
|
|
==2062084== All heap blocks were freed -- no leaks are possible
|
||
|
|
==2062084==
|
||
|
|
==2062084== For lists of detected and suppressed errors, rerun with: -s
|
||
|
|
==2062084== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
|