add touch shmem in forkserver, add binary library and patches.txt for easy testing

This commit is contained in:
van Hauser
2020-08-03 18:13:06 +02:00
parent 55bd24b0c7
commit ed63364a77
3 changed files with 36 additions and 23 deletions

View File

@ -437,6 +437,8 @@ inline static u32 __afl_next_testcase(u8 *buf, u32 max_len) {
if (write(FORKSRV_FD + 1, &pid, 4) != 4) do_exit = 1; if (write(FORKSRV_FD + 1, &pid, 4) != 4) do_exit = 1;
// fprintf(stderr, "write1 %d\n", do_exit); // fprintf(stderr, "write1 %d\n", do_exit);
__afl_area_ptr[0] = 1; // put something in the map
return status; return status;
} }

Binary file not shown.

View File

@ -1,23 +1,34 @@
libtestinstr.so:0x2000L libtestinstr.so:0x1000
0x1050L 0x10
0x1063L 0x12
0x106fL 0x20
0x1078L 0x36
0x1080L 0x30
0x10a4L 0x40
0x10b0L 0x50
0x10b8L 0x63
0x10c0L 0x6f
0x10c9L 0x78
0x10d7L 0x80
0x10e3L 0xa4
0x10f8L 0xb0
0x1100L 0xb8
0x1105L 0x100
0x111aL 0xc0
0x1135L 0xc9
0x1143L 0xd7
0x114eL 0xe3
0x115cL 0xe8
0x116aL 0xf8
0x116bL 0x105
0x11a
0x135
0x141
0x143
0x14e
0x15a
0x15c
0x168
0x16a
0x16b
0x170