Debian Codegraph @

test/text/DEF-CON-2020-bdooos

raw
1 #Label CODE JT JF K
2 #---------------------------------
3 L0001: 0x20 0x00 0x00 0x00000004 $A = $arch
4 L0002: 0x15 0x00 0x10 0xc00000b7 if ($A != aarch64) goto L0019
5 L0003: 0x20 0x00 0x00 0x00000000 $A = $syscall_nr
6 L0004: 0x15 0x0d 0x00 0x0000001d if ($A == aarch64.ioctl) goto L0018
7 L0005: 0x15 0x0c 0x00 0x0000003f if ($A == aarch64.read) goto L0018
8 L0006: 0x15 0x0b 0x00 0x00000040 if ($A == aarch64.write) goto L0018
9 L0007: 0x15 0x0a 0x00 0x00000049 if ($A == aarch64.ppoll) goto L0018
10 L0008: 0x15 0x09 0x00 0x0000005e if ($A == aarch64.exit_group) goto L0018
11 L0009: 0x15 0x08 0x00 0x00000062 if ($A == aarch64.futex) goto L0018
12 L0010: 0x15 0x07 0x00 0x00000084 if ($A == aarch64.sigaltstack) goto L0018
13 L0011: 0x15 0x06 0x00 0x00000086 if ($A == aarch64.rt_sigaction) goto L0018
14 L0012: 0x15 0x05 0x00 0x0000008b if ($A == aarch64.rt_sigreturn) goto L0018
15 L0013: 0x15 0x04 0x00 0x000000ce if ($A == aarch64.sendto) goto L0018
16 L0014: 0x15 0x03 0x00 0x000000cf if ($A == aarch64.recvfrom) goto L0018
17 L0015: 0x15 0x02 0x00 0x000000d0 if ($A == aarch64.setsockopt) goto L0018
18 L0016: 0x15 0x01 0x00 0x000000d7 if ($A == aarch64.munmap) goto L0018
19 L0017: 0x06 0x00 0x00 0x80000000 return KILL_PROCESS
20 L0018: 0x06 0x00 0x00 0x7fff0000 return ALLOW
21 L0019: 0x06 0x00 0x00 0x00000000 return KILL
22 #---------------------------------