NAME=PE JSON test FILE=bins/pe/ch22.exe ARGS=-nn CMDS=< first : 0x00000004 = 666 Buh : struct Boh : struct word : 0x0000000c = 0x002a EOF RUN NAME=access specific element in an array FILE=malloc://1024 CMDS=< one : 0x00000010 = 4000 two : 0x00000014 = 0xdead three : 0x00000016 = (qword)0x0000000000000000 four : 0x0000001e = 0x0000 ] str : [ struct two : 0x00000014 = 0xdead ] EOF RUN NAME=Complex request with specific array element and specific field FILE=bins/pe/ch22.exe ARGS=-nn CMDS=< first : 0x00000004 = 42 Boh : struct integer : 0x00000008 = 4000 word : 0x0000000c = 0x002a Bah : (*0x30) struct integer : 0x00000030 = 20 word : 0x00000034 = 0x1664 Bah : (*0x20) struct integer : 0x00000020 = 1664 word : 0x00000024 = 0xadde Bah : (*0x0) NULL bwa : 0x00000012 = 0x4214 foo : 0x00000014 = 0x00001664 EOF RUN NAME=print anonymous nested struct FILE=malloc://1024 CMDS=< a : 0x00000008 = 1935765615 b : struct a : 0x0000000c = 1751606884 b : 0x00000010 = 2053925738 c : 0x00000014 = 1651925880 d : 0x00000018 = 2003922286 a : 0x00000000 = 1919252337 b : 0x00000004 = 't' c : (*0x7361706f) struct a : 0x7361706f = -1 b : struct a : 0x73617073 = -1 b : 0x73617077 = -1 c : 0x7361707b = -1 d : 0x0000000c = 1751606884 EOF RUN NAME=pf only one size FILE=malloc://1024 CMDS=pf 16 16 EXPECT=< $initial_map ?e --- io.unalloc = true --- ?e e io.unalloc=true e io.va=true s 3046 w AB pf [2]z pf z pf [5]z pf z @ 0xfffff ?e e io.va=false s 2046 pf [2]z pf z pf [5]z pf z @ 0xfffff ?e e io.va=true om ?e ---- om-* om 3 1000 1024 0 rwx om 3 2024 1024 1024 rwx om wz CD @ 2023 pf z @ 2023 ?e ---- om- 2 om 3 2024 1024 1024 -wx om pf z @ 2023 ?e ---- om- 2 om pf z @ 2023 om-* .$initial_map ?e e io.cache=true wz 12 @ 0xfffff pf z @ 0xfffff e io.cache=false ?e ?e --- io.unalloc = false --- ?e e io.unalloc=false e io.va=true s 3046 pf [2]z pf z pf [5]z pf z @ 0xfffff EOF EXPECT=< magic : 0x00000000 = "\x7fELF" class : 0x00000004 = class (enum elf_class) = 0x1 ; ELFCLASS32 data : 0x00000005 = data (enum elf_data) = 0x1 ; ELFDATA2LSB version : 0x00000006 = version (enum elf_hdr_version) = 0x1 ; EV_CURRENT type : 0x00000010 = type (enum elf_type) = 0x2 ; ET_EXEC machine : 0x00000012 = machine (enum elf_machine) = 0x3 ; EM_386 version : 0x00000014 = version (enum elf_obj_version) = 0x1 ; EV_CURRENT entry : 0x00000018 = 0x08048054 phoff : 0x0000001c = 0x00000034 shoff : 0x00000020 = 0x00000000 flags : 0x00000024 = 0x00000000 ehsize : 0x00000028 = 52 phentsize : 0x0000002a = 32 phnum : 0x0000002c = 1 shentsize : 0x0000002e = 0 shnum : 0x00000030 = 0 shstrndx : 0x00000032 = 0 EOF RUN NAME=pfc N# and n# FILE=- ARGS=-a x86 -b 64 CMDS=<