-----------------------------------------------------------------

[*] Initial strace run with jchroot on the command ./usr/sbin/xtables-legacy-multi to identify missing areas

[*] Emulating binary name: xtables-legacy-multi in strace mode to identify missing areas (with jchroot)
[*] Emulator used: qemu-mipsel-static
[*] Chroot environment used: jchroot
[*] Using root directory: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract (1/2)
[*] Using CPU config: 

--- SIGILL {si_signo=SIGILL, si_code=SI_KERNEL, si_pid=0, si_uid=0} ---
qemu: uncaught target signal 4 (Illegal instruction) - core dumped

[*] Identification of missing filesytem areas.
[*] No missing areas found.

-----------------------------------------------------------------


-----------------------------------------------------------------

[*] Initial strace run with jchroot on the command ./sbin/xtables-legacy-multi to identify missing areas

[*] Emulating binary name: xtables-legacy-multi in strace mode to identify missing areas (with jchroot)
[*] Emulator used: qemu-mipsel-static
[*] Chroot environment used: jchroot
[*] Using root directory: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr (2/2)
[*] Using CPU config: 24KEc

1 brk(NULL) = 0x4007a5d4
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f7c7000
1 uname(0x3ff1d620) = 0
1 access("/etc/ld.so.preload",R_OK) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/etc/ld.so.cache",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/tls/libip4tc.so.2",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 stat64("/lib/tls",0x3ff1d270) = 0
1 openat(AT_FDCWD,"/lib/libip4tc.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d3b4,512) = 512
1 prctl(46,1072813256,1072812980,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d270) = 0
1 mmap2(NULL,90688,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f7b0000
1 mprotect(0x3f7b6000,61440,PROT_NONE) = 0
1 mmap2(0x3f7c5000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x5) = 0x3f7c5000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libip6tc.so.2",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/libip6tc.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d3a4,512) = 512
1 prctl(46,1072813240,1072812964,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d260) = 0
1 mmap2(NULL,90704,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f799000
1 mprotect(0x3f79f000,61440,PROT_NONE) = 0
1 mmap2(0x3f7ae000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x5) = 0x3f7ae000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libxtables.so.12",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/libxtables.so.12",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d394,512) = 512
1 prctl(46,1072813256,1072812948,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d250) = 0
1 mmap2(NULL,130432,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f779000
1 mprotect(0x3f786000,61440,PROT_NONE) = 0
1 mmap2(0x3f795000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0xc) = 0x3f795000
1 mmap2(0x3f797000,7552,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f797000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libc.so.6",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d384,512) = 512
1 prctl(46,1072813368,1072812932,512,1065377792,0) = 0
1 _llseek(3,0,760,0x3ff1d158,SEEK_SET) = 0
1 read(3,0x3ff1d188,32) = 32
1 fstat64(3,0x3ff1d240) = 0
1 mmap2(NULL,1593152,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f5f4000
1 mprotect(0x3f761000,61440,PROT_NONE) = 0
1 mmap2(0x3f770000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x16c) = 0x3f770000
1 mmap2(0x3f777000,8000,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f777000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libdl.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d234,512) = 512
1 prctl(46,1072812904,1072812596,512,1065377792,0) = 0
1 _llseek(3,0,648,0x3ff1d008,SEEK_SET) = 0
1 read(3,0x3ff1d038,32) = 32
1 fstat64(3,0x3ff1d0f0) = 0
1 mmap2(NULL,73968,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f5e1000
1 mprotect(0x3f5e3000,61440,PROT_NONE) = 0
1 mmap2(0x3f5f2000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3f5f2000
1 close(3) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f5df000
1 set_thread_area(0x3f5e64a0) = 0
1 mprotect(0x3f770000,16384,PROT_READ) = 0
1 mprotect(0x3f5f2000,4096,PROT_READ) = 0
1 mprotect(0x3f795000,4096,PROT_READ) = 0
1 mprotect(0x3f7ae000,4096,PROT_READ) = 0
1 mprotect(0x3f7c5000,4096,PROT_READ) = 0
1 mprotect(0x40024000,4096,PROT_READ) = 0
1 mprotect(0x3f7fd000,4096,PROT_READ) = 0
1 write(2,0x40014038,53)ERROR: No valid subcommand given.
Valid subcommands:
 = 53
1 write(2,0x3ff1b6f8,12) * iptables
 = 12
1 write(2,0x3ff1b6f8,9) * main4
 = 9
1 write(2,0x3ff1b6f8,17) * iptables-save
 = 17
1 write(2,0x3ff1b6f8,9) * save4
 = 9
1 write(2,0x3ff1b6f8,20) * iptables-restore
 = 20
1 write(2,0x3ff1b6f8,12) * restore4
 = 12
1 write(2,0x3ff1b6f8,19) * iptables-legacy
 = 19
1 write(2,0x3ff1b6f8,24) * iptables-legacy-save
 = 24
1 write(2,0x3ff1b6f8,27) * iptables-legacy-restore
 = 27
1 write(2,0x3ff1b6f8,16) * iptables-xml
 = 16
1 write(2,0x3ff1b6f8,7) * xml
 = 7
1 write(2,0x3ff1b6f8,13) * ip6tables
 = 13
1 write(2,0x3ff1b6f8,9) * main6
 = 9
1 write(2,0x3ff1b6f8,18) * ip6tables-save
 = 18
1 write(2,0x3ff1b6f8,9) * save6
 = 9
1 write(2,0x3ff1b6f8,21) * ip6tables-restore
 = 21
1 write(2,0x3ff1b6f8,12) * restore6
 = 12
1 write(2,0x3ff1b6f8,20) * ip6tables-legacy
 = 20
1 write(2,0x3ff1b6f8,25) * ip6tables-legacy-save
 = 25
1 write(2,0x3ff1b6f8,28) * ip6tables-legacy-restore
 = 28
1 exit_group(1)

[*] Identification of missing filesytem areas.
[*] Found missing area: /etc/ld.so.cache
[*] Trying to identify this missing file: ld.so.cache
[*] Missing file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/etc/ld.so.cache
[*] Found missing area: /lib/tls/libip4tc.so.2
[*] Trying to identify this missing file: libip4tc.so.2
[*] Possible matching file found: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libip4tc.so.2
[*] Copy file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libip4tc.so.2 to /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/tls/
[*] Found missing area: /lib/tls/libip6tc.so.2
[*] Trying to identify this missing file: libip6tc.so.2
[*] Possible matching file found: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libip6tc.so.2
[*] Copy file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libip6tc.so.2 to /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/tls/
[*] Found missing area: /lib/tls/libxtables.so.12
[*] Trying to identify this missing file: libxtables.so.12
[*] Possible matching file found: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libxtables.so.12
[*] Copy file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libxtables.so.12 to /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/tls/

-----------------------------------------------------------------