-----------------------------------------------------------------
[*] Initial strace run with jchroot on the command ./bin/tdb to identify missing areas
[*] Emulating binary name: tdb 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/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract (1/1)
[*] Using CPU config:
1 mmap(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|0x4000000,-1,0) = 0x3ffe6000
1 open("/lib/libstdc++.so.6",O_RDONLY) = 3
1 fstat(3,0x4071e14c) = 0
1 mmap(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|0x4000000,-1,0) = 0x3ffe5000
1 read(3,0x3ffe5000,4096) = 4096
1 mmap(NULL,954368,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3fefc000
1 mmap(0x3fefc000,824044,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_FIXED,3,0) = 0x3fefc000
1 mmap(0x3ffd5000,38228,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0xc9000) = 0x3ffd5000
1 mmap(0x3ffdf000,23200,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3ffdf000
1 close(3) = 0
1 munmap(0x3ffe5000,4096) = 0
1 open("/lib/libLog4cppWrapper.so",O_RDONLY) = 3
1 fstat(3,0x4071e13c) = 0
1 mmap(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|0x4000000,-1,0) = 0x3fefb000
1 read(3,0x3fefb000,4096) = 4096
1 mmap(NULL,86016,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3fee6000
1 mmap(0x3fee6000,17032,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_FIXED,3,0) = 0x3fee6000
1 mmap(0x3fefa000,1164,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x4000) = 0x3fefa000
1 close(3) = 0
1 munmap(0x3fefb000,4096) = 0
1 open("/lib/librt.so.0",O_RDONLY) = 3
1 fstat(3,0x4071e12c) = 0
1 mmap(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|0x4000000,-1,0) = 0x3fee5000
1 read(3,0x3fee5000,4096) = 4096
1 mmap(NULL,81920,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3fed1000
1 mmap(0x3fed1000,10552,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_FIXED,3,0) = 0x3fed1000
1 mmap(0x3fee4000,232,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x3000) = 0x3fee4000
1 close(3) = 0
1 munmap(0x3fee5000,4096) = 0
1 open("/lib/liblog4cpp.so.5",O_RDONLY) = 3
1 fstat(3,0x4071e11c) = 0
1 mmap(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|0x4000000,-1,0) = 0x3fed0000
1 read(3,0x3fed0000,4096) = 4096
1 mmap(NULL,278528,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3fe8c000
1 mmap(0x3fe8c000,197328,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_FIXED,3,0) = 0x3fe8c000
1 mmap(0x3fecc000,12460,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x30000) = 0x3fecc000
1 close(3) = 0
1 munmap(0x3fed0000,4096) = 0
1 open("/lib/libtinydb.so",O_RDONLY) = 3
1 fstat(3,0x4071e10c) = 0
1 mmap(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|0x4000000,-1,0) = 0x3fe8b000
1 read(3,0x3fe8b000,4096) = 4096
1 mmap(NULL,118784,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3fe6e000
1 mmap(0x3fe6e000,44368,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_FIXED,3,0) = 0x3fe6e000
1 mmap(0x3fe89000,4488,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0xb000) = 0x3fe89000
1 close(3) = 0
1 munmap(0x3fe8b000,4096) = 0
1 open("/lib/libz.so.1",O_RDONLY) = 3
1 fstat(3,0x4071e0fc) = 0
1 mmap(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|0x4000000,-1,0) = 0x3fe6d000
1 read(3,0x3fe6d000,4096) = 4096
1 mmap(NULL,151552,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3fe48000
1 mmap(0x3fe48000,84704,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_FIXED,3,0) = 0x3fe48000
1 mmap(0x3fe6c000,3320,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x14000) = 0x3fe6c000
1 close(3) = 0
1 munmap(0x3fe6d000,4096) = 0
1 open("/lib/libdbif.so",O_RDONLY) = 3
1 fstat(3,0x4071e0ec) = 0
1 mmap(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|0x4000000,-1,0) = 0x3fe47000
1 read(3,0x3fe47000,4096) = 4096
1 mmap(NULL,77824,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3fe34000
1 mmap(0x3fe34000,6212,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_FIXED,3,0) = 0x3fe34000
1 mmap(0x3fe45000,4208,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x1000) = 0x3fe45000
1 close(3) = 0
1 munmap(0x3fe47000,4096) = 0
1 open("/lib/libmxml.so.1",O_RDONLY) = 3
1 fstat(3,0x4071e0dc) = 0
1 mmap(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|0x4000000,-1,0) = 0x3fe33000
1 read(3,0x3fe33000,4096) = 4096
1 mmap(NULL,110592,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3fe18000
1 mmap(0x3fe18000,40928,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_FIXED,3,0) = 0x3fe18000
1 mmap(0x3fe32000,2404,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0xa000) = 0x3fe32000
1 close(3) = 0
1 munmap(0x3fe33000,4096) = 0
1 open("/lib/libpthread.so.0",O_RDONLY) = 3
1 fstat(3,0x4071e0cc) = 0
1 mmap(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|0x4000000,-1,0) = 0x3fe17000
1 read(3,0x3fe17000,4096) = 4096
1 mmap(NULL,155648,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3fdf1000
1 mmap(0x3fdf1000,73648,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_FIXED,3,0) = 0x3fdf1000
1 mmap(0x3fe13000,4936,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x12000) = 0x3fe13000
1 mmap(0x3fe15000,5216,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3fe15000
1 close(3) = 0
1 munmap(0x3fe17000,4096) = 0
1 open("/lib/libm.so.0",O_RDONLY) = 3
1 fstat(3,0x4071e0bc) = 0
1 mmap(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|0x4000000,-1,0) = 0x3fdf0000
1 read(3,0x3fdf0000,4096) = 4096
1 mmap(NULL,110592,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3fdd5000
1 mmap(0x3fdd5000,44620,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_FIXED,3,0) = 0x3fdd5000
1 mmap(0x3fdef000,4012,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0xa000) = 0x3fdef000
1 close(3) = 0
1 munmap(0x3fdf0000,4096) = 0
1 open("/lib/libgcc_s.so.1",O_RDONLY) = 3
1 fstat(3,0x4071e0ac) = 0
1 mmap(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|0x4000000,-1,0) = 0x3fdd4000
1 read(3,0x3fdd4000,4096) = 4096
1 mmap(NULL,151552,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3fdaf000
1 mmap(0x3fdaf000,82244,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_FIXED,3,0) = 0x3fdaf000
1 mmap(0x3fdd3000,588,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x14000) = 0x3fdd3000
1 close(3) = 0
1 munmap(0x3fdd4000,4096) = 0
1 open("/lib/libc.so.0",O_RDONLY) = 3
1 fstat(3,0x4071e09c) = 0
1 mmap(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|0x4000000,-1,0) = 0x3fdae000
1 read(3,0x3fdae000,4096) = 4096
1 mmap(NULL,573440,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3fd22000
1 mmap(0x3fd22000,475740,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_FIXED,3,0) = 0x3fd22000
1 mmap(0x3fda6000,7880,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x74000) = 0x3fda6000
1 mmap(0x3fda8000,23052,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3fda8000
1 close(3) = 0
1 mmap(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|0x4000000,-1,0) = 0x3fd21000
1 munmap(0x3fdae000,4096) = 0
1 stat("/lib/ld-uClibc.so.0",0x4071e988) = 0
1 open("/lib/libm.so.0",O_RDONLY) = 3
1 fstat(3,0x4071e07c) = 0
1 close(3) = 0
1 open("/lib/libc.so.0",O_RDONLY) = 3
1 fstat(3,0x4071e06c) = 0
1 close(3) = 0
1 open("/lib/libgcc_s.so.1",O_RDONLY) = 3
1 fstat(3,0x4071e04c) = 0
1 close(3) = 0
1 open("/lib/libstdc++.so.6",O_RDONLY) = 3
1 fstat(3,0x4071e03c) = 0
1 close(3) = 0
1 open("/lib/liblog4cpp.so.5",O_RDONLY) = 3
1 fstat(3,0x4071e02c) = 0
1 close(3) = 0
1 open("/lib/libm.so.0",O_RDONLY) = 3
1 fstat(3,0x4071e01c) = 0
1 close(3) = 0
1 open("/lib/libgcc_s.so.1",O_RDONLY) = 3
1 fstat(3,0x4071e00c) = 0
1 close(3) = 0
1 open("/lib/libc.so.0",O_RDONLY) = 3
1 fstat(3,0x4071dffc) = 0
1 close(3) = 0
1 open("/lib/libc.so.0",O_RDONLY) = 3
1 fstat(3,0x4071dfdc) = 0
1 close(3) = 0
1 open("/lib/libdl.so.0",O_RDONLY) = 3
1 fstat(3,0x4071dfcc) = 0
1 mmap(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|0x4000000,-1,0) = 0x3fd20000
1 read(3,0x3fd20000,4096) = 4096
1 mmap(NULL,81920,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3fd0c000
1 mmap(0x3fd0c000,8728,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_FIXED,3,0) = 0x3fd0c000
1 mmap(0x3fd1e000,4300,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x2000) = 0x3fd1e000
1 close(3) = 0
1 munmap(0x3fd20000,4096) = 0
1 open("/lib/libpthread.so.0",O_RDONLY) = 3
1 fstat(3,0x4071dfbc) = 0
1 close(3) = 0
1 open("/lib/libnsl.so.0",O_RDONLY) = 3
1 fstat(3,0x4071dfac) = 0
1 mmap(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|0x4000000,-1,0) = 0x3fd0b000
1 read(3,0x3fd0b000,4096) = 1724
1 mmap(NULL,69632,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3fcfa000
1 mmap(0x3fcfa000,852,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_FIXED,3,0) = 0x3fcfa000
1 mmap(0x3fd0a000,872,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0) = 0x3fd0a000
1 close(3) = 0
1 munmap(0x3fd0b000,4096) = 0
1 open("/lib/libstdc++.so.6",O_RDONLY) = 3
1 fstat(3,0x4071df9c) = 0
1 close(3) = 0
1 open("/lib/libm.so.0",O_RDONLY) = 3
1 fstat(3,0x4071df8c) = 0
1 close(3) = 0
1 open("/lib/libc.so.0",O_RDONLY) = 3
1 fstat(3,0x4071df7c) = 0
1 close(3) = 0
1 open("/lib/libgcc_s.so.1",O_RDONLY) = 3
1 fstat(3,0x4071df6c) = 0
1 close(3) = 0
1 open("/lib/libstdc++.so.6",O_RDONLY) = 3
1 fstat(3,0x4071df5c) = 0
1 close(3) = 0
1 open("/lib/libLog4cppWrapper.so",O_RDONLY) = 3
1 fstat(3,0x4071df4c) = 0
1 close(3) = 0
1 open("/lib/librt.so.0",O_RDONLY) = 3
1 fstat(3,0x4071df3c) = 0
1 close(3) = 0
1 open("/lib/liblog4cpp.so.5",O_RDONLY) = 3
1 fstat(3,0x4071df2c) = 0
1 close(3) = 0
1 open("/lib/libdbif.so",O_RDONLY) = 3
1 fstat(3,0x4071df1c) = 0
1 close(3) = 0
1 open("/lib/libm.so.0",O_RDONLY) = 3
1 fstat(3,0x4071df0c) = 0
1 close(3) = 0
1 open("/lib/libgcc_s.so.1",O_RDONLY) = 3
1 fstat(3,0x4071defc) = 0
1 close(3) = 0
1 open("/lib/libc.so.0",O_RDONLY) = 3
1 fstat(3,0x4071deec) = 0
1 close(3) = 0
1 open("/lib/libc.so.0",O_RDONLY) = 3
1 fstat(3,0x4071decc) = 0
1 close(3) = 0
1 open("/lib/libstdc++.so.6",O_RDONLY) = 3
1 fstat(3,0x4071debc) = 0
1 close(3) = 0
1 open("/lib/libLog4cppWrapper.so",O_RDONLY) = 3
1 fstat(3,0x4071deac) = 0
1 close(3) = 0
1 open("/lib/librt.so.0",O_RDONLY) = 3
1 fstat(3,0x4071de9c) = 0
1 close(3) = 0
1 open("/lib/liblog4cpp.so.5",O_RDONLY) = 3
1 fstat(3,0x4071de8c) = 0
1 close(3) = 0
1 open("/lib/libm.so.0",O_RDONLY) = 3
1 fstat(3,0x4071de7c) = 0
1 close(3) = 0
1 open("/lib/libgcc_s.so.1",O_RDONLY) = 3
1 fstat(3,0x4071de6c) = 0
1 close(3) = 0
1 open("/lib/libc.so.0",O_RDONLY) = 3
1 fstat(3,0x4071de5c) = 0
1 close(3) = 0
1 open("//var/lib/jenkins/jobs/msd3_git_dcs8000lhv2_v1.03/workspace/output/target/lib/libc.so.0",O_RDONLY) = -1 errno=2 (No such file or directory)
1 open("/lib/libc.so.0",O_RDONLY) = 3
1 fstat(3,0x4071de3c) = 0
1 close(3) = 0
1 open("/lib/libdl.so.0",O_RDONLY) = 3
1 fstat(3,0x4071de1c) = 0
1 close(3) = 0
1 open("/lib/libc.so.0",O_RDONLY) = 3
1 fstat(3,0x4071de0c) = 0
1 close(3) = 0
1 open("/lib/libc.so.0",O_RDONLY) = 3
1 fstat(3,0x4071ddfc) = 0
1 close(3) = 0
1 open("/lib/libc.so.0",O_RDONLY) = 3
1 fstat(3,0x4071ddec) = 0
1 close(3) = 0
1 open("/lib/libc.so.0",O_RDONLY) = 3
1 fstat(3,0x4071ddcc) = 0
1 close(3) = 0
1 open("/lib/libc.so.0",O_RDONLY) = 3
1 fstat(3,0x4071ddac) = 0
1 close(3) = 0
1 mmap(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|0x4000000,-1,0) = 0x3fcf9000
1 set_thread_area(0x3fd00460) = 0
1 open("/dev/urandom",O_RDONLY) = 3
1 read(3,0x4071ec48,4) = 4
1 close(3) = 0
1 mprotect(0x00418000,4096,PROT_READ) = 0
1 mprotect(0x3ffd5000,28672,PROT_READ) = 0
1 mprotect(0x3fe89000,4096,PROT_READ) = 0
1 mprotect(0x3fe45000,4096,PROT_READ) = 0
1 mprotect(0x3fe13000,4096,PROT_READ) = 0
1 mprotect(0x3fda6000,4096,PROT_READ) = 0
1 mprotect(0x3fffe000,4096,PROT_READ) = 0
1 mprotect(0x3fd1e000,4096,PROT_READ) = 0
--- 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.
[*] Found missing area: //var/lib/jenkins/jobs/msd3_git_dcs8000lhv2_v1.03/workspace/output/target/lib/libc.so.0
[*] Trying to identify this missing file: libc.so.0
[*] Possible matching file found: /logs/s115_usermode_emulator/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract./libc.so.0
[*] Creating directory /logs/s115_usermode_emulator/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract//var/lib/jenkins/jobs/msd3_git_dcs8000lhv2_v1.03/workspace/output/target/lib
[*] Copy file /logs/s115_usermode_emulator/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract./libc.so.0 to /logs/s115_usermode_emulator/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract//var/lib/jenkins/jobs/msd3_git_dcs8000lhv2_v1.03/workspace/output/target/lib/
-----------------------------------------------------------------