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

[*] Initial strace run with jchroot on the command ./var/bluetooth/bin/bluetoothd to identify missing areas

[*] Emulating binary name: bluetoothd 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("/var/lib/jenkins/jobs/msd3_git_dcs8000lhv2_v1.03/workspace/output/target/lib/libcrypto.so.1.0.0",O_RDONLY) = -1 errno=2 (No such file or directory)
1 open("/lib/libcrypto.so.1.0.0",O_RDONLY) = 3
1 fstat(3,0x4071e0bc) = 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,1818624,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3fe29000
1 mmap(0x3fe29000,1655404,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_FIXED,3,0) = 0x3fe29000
1 mmap(0x3ffcd000,88508,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x194000) = 0x3ffcd000
1 mmap(0x3ffe3000,7504,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3ffe3000
1 close(3) = 0
1 munmap(0x3ffe5000,4096) = 0
1 open("/var/lib/jenkins/jobs/msd3_git_dcs8000lhv2_v1.03/workspace/output/target/lib/libglib-2.0.so.0",O_RDONLY) = -1 errno=2 (No such file or directory)
1 open("/lib/libglib-2.0.so.0",O_RDONLY) = -1 errno=2 (No such file or directory)
1 open("/usr/lib/libglib-2.0.so.0",O_RDONLY) = -1 errno=2 (No such file or directory)
1 open("/usr/X11R6/lib/libglib-2.0.so.0",O_RDONLY) = -1 errno=2 (No such file or directory)
1 mmap(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3fe28000
1 write(2,0x3fe28000,0) = 0
1 write(2,0x4071fb58,30)./var/bluetooth/bin/bluetoothd = 30
1 write(2,0x3fe28002,22): can't load library ' = 22
1 write(2,0x4047e3,16)libglib-2.0.so.0 = 16
1 write(2,0x3fe2801a,2)'
 = 2
1 munmap(0x3fe28000,4096) = 0
1 exit(16)

[*] Identification of missing filesytem areas.
[*] Found missing area: /lib/libglib-2.0.so.0
[*] Trying to identify this missing file: libglib-2.0.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/var/bluetooth/lib/libglib-2.0.so.0
[*] Copy file /logs/s115_usermode_emulator/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/var/bluetooth/lib/libglib-2.0.so.0 to /logs/s115_usermode_emulator/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/lib/
[*] Found missing area: /usr/X11R6/lib/libglib-2.0.so.0
[*] Trying to identify this missing file: libglib-2.0.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/lib/libglib-2.0.so.0
[*] Creating directory /logs/s115_usermode_emulator/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/usr/X11R6/lib
[*] Copy file /logs/s115_usermode_emulator/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/lib/libglib-2.0.so.0 to /logs/s115_usermode_emulator/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/usr/X11R6/lib/
[*] Found missing area: /usr/lib/libglib-2.0.so.0
[*] Trying to identify this missing file: libglib-2.0.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/lib/libglib-2.0.so.0
[*] Creating directory /logs/s115_usermode_emulator/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/usr/lib
[*] Copy file /logs/s115_usermode_emulator/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/lib/libglib-2.0.so.0 to /logs/s115_usermode_emulator/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/usr/lib/
[*] Found missing area: /var/lib/jenkins/jobs/msd3_git_dcs8000lhv2_v1.03/workspace/output/target/lib/libcrypto.so.1.0.0
[*] Trying to identify this missing file: libcrypto.so.1.0.0
[*] Possible matching file found: /logs/s115_usermode_emulator/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/lib/libcrypto.so.1.0.0
[*] Copy file /logs/s115_usermode_emulator/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/lib/libcrypto.so.1.0.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/
[*] Found missing area: /var/lib/jenkins/jobs/msd3_git_dcs8000lhv2_v1.03/workspace/output/target/lib/libglib-2.0.so.0
[*] Trying to identify this missing file: libglib-2.0.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/lib/libglib-2.0.so.0
[*] Copy file /logs/s115_usermode_emulator/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/lib/libglib-2.0.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/

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