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

[*] Initial strace run with jchroot on the command ./usr/bin/avahi-set-host-name to identify missing areas

[*] Emulating binary name: avahi-set-host-name in strace mode to identify missing areas (with jchroot)
[*] Emulator used: qemu-arm-static
[*] Chroot environment used: jchroot
[*] Using root directory: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/56048-12514271.gzip_extract/gzip.uncompressed_extract/5243916-15068666.gzip_extract/gzip.uncompressed_extract (1/1)
[*] Using CPU config: NONE

1 readlinkat(AT_FDCWD,"/proc/self/exe",0x4071daa8,4096) = 28
1 mmap2(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ffe6000
1 open("/lib//libavahi-client.so.3",O_RDONLY) = -1 errno=2 (No such file or directory)
1 open("/usr/lib//libavahi-client.so.3",O_RDONLY) = 3
1 fstat(3,0x4071e15c) = 0
1 mmap2(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ffe5000
1 read(3,0x3ffe5000,4096) = 4096
1 mmap2(NULL,122880,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ffc7000
1 mmap2(0x3ffc7000,51040,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_FIXED,3,0) = 0x3ffc7000
1 mmap2(0x3ffe3000,4668,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0xc) = 0x3ffe3000
1 close(3) = 0
1 munmap(0x3ffe5000,4096) = 0
1 open("/lib//libavahi-common.so.3",O_RDONLY) = -1 errno=2 (No such file or directory)
1 open("/usr/lib//libavahi-common.so.3",O_RDONLY) = 3
1 fstat(3,0x4071e14c) = 0
1 mmap2(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ffc6000
1 read(3,0x3ffc6000,4096) = 4096
1 mmap2(NULL,110592,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ffab000
1 mmap2(0x3ffab000,38224,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_FIXED,3,0) = 0x3ffab000
1 mmap2(0x3ffc4000,4728,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x9) = 0x3ffc4000
1 close(3) = 0
1 munmap(0x3ffc6000,4096) = 0
1 open("/lib//libc.so.0",O_RDONLY) = 3
1 fstat(3,0x4071e13c) = 0
1 mmap2(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ffaa000
1 read(3,0x3ffaa000,4096) = 4096
1 mmap2(NULL,651264,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ff0b000
1 mmap2(0x3ff0b000,486668,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_FIXED,3,0) = 0x3ff0b000
1 mmap2(0x3ff92000,4852,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x77) = 0x3ff92000
1 mmap2(0x3ff94000,88104,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3ff94000
1 close(3) = 0
1 munmap(0x3ffaa000,4096) = 0
1 open("/lib//libdbus-1.so.3",O_RDONLY) = -1 errno=2 (No such file or directory)
1 open("/usr/lib//libdbus-1.so.3",O_RDONLY) = 3
1 fstat(3,0x4071e12c) = 0
1 mmap2(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ff0a000
1 read(3,0x3ff0a000,4096) = 4096
1 mmap2(NULL,307200,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3febf000
1 mmap2(0x3febf000,235500,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_FIXED,3,0) = 0x3febf000
1 mmap2(0x3ff08000,6140,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x39) = 0x3ff08000
1 close(3) = 0
1 munmap(0x3ff0a000,4096) = 0
1 open("/lib//libavahi-common.so.3",O_RDONLY) = -1 errno=2 (No such file or directory)
1 open("/usr/lib//libavahi-common.so.3",O_RDONLY) = 3
1 fstat(3,0x4071e11c) = 0
1 close(3) = 0
1 open("/lib//libc.so.0",O_RDONLY) = 3
1 fstat(3,0x4071e10c) = 0
1 close(3) = 0
1 open("/lib//libc.so.0",O_RDONLY) = 3
1 fstat(3,0x4071e0fc) = 0
1 close(3) = 0
1 stat("/lib/ld-uClibc.so.0",0x4071e9e0) = 0
1 open("/lib//libc.so.0",O_RDONLY) = 3
1 fstat(3,0x4071e0dc) = 0
1 close(3) = 0
1 mmap2(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3febe000
1 mprotect(0x00021000,4096,PROT_READ) = 0
1 mprotect(0x3ffe3000,4096,PROT_READ) = 0
1 mprotect(0x3ffc4000,4096,PROT_READ) = 0
1 mprotect(0x3ff92000,4096,PROT_READ) = 0
1 mprotect(0x3ff08000,4096,PROT_READ) = 0
1 mprotect(0x3fffe000,4096,PROT_READ) = 0
1 set_tid_address(0x3febe068) = 1
1 set_robust_list(0x3febe06c,12) = -1 errno=38 (Function not implemented)
1 rt_sigaction(32,0x4071e9b4,NULL) = 0
1 rt_sigaction(33,0x4071e9b4,NULL) = 0
1 rt_sigprocmask(SIG_UNBLOCK,0x4071e9f8,NULL,8) = 0
1 ugetrlimit(3,1081207268,4,1696,1073294408,16) = 0
1 ioctl(0,TCGETS,0x4071e9a4) = -1 errno=25 (Inappropriate ioctl for device)
1 ioctl(1,TCGETS,0x4071e9a4) = -1 errno=25 (Inappropriate ioctl for device)
1 write(2,0x11419,52)Invalid number of arguments, expecting exactly one.
 = 52
1 exit_group(1)

[*] Identification of missing filesytem areas.
[*] Found missing area: /lib//libavahi-client.so.3
[*] Trying to identify this missing file: libavahi-client.so.3
[*] Possible matching file found: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/56048-12514271.gzip_extract/gzip.uncompressed_extract/5243916-15068666.gzip_extract/gzip.uncompressed_extract/usr/lib/libavahi-client.so.3
[*] Copy file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/56048-12514271.gzip_extract/gzip.uncompressed_extract/5243916-15068666.gzip_extract/gzip.uncompressed_extract/usr/lib/libavahi-client.so.3 to /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/56048-12514271.gzip_extract/gzip.uncompressed_extract/5243916-15068666.gzip_extract/gzip.uncompressed_extract/lib/
[*] Found missing area: /lib//libavahi-common.so.3
[*] Trying to identify this missing file: libavahi-common.so.3
[*] Possible matching file found: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/56048-12514271.gzip_extract/gzip.uncompressed_extract/5243916-15068666.gzip_extract/gzip.uncompressed_extract/usr/lib/libavahi-common.so.3
[*] Copy file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/56048-12514271.gzip_extract/gzip.uncompressed_extract/5243916-15068666.gzip_extract/gzip.uncompressed_extract/usr/lib/libavahi-common.so.3 to /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/56048-12514271.gzip_extract/gzip.uncompressed_extract/5243916-15068666.gzip_extract/gzip.uncompressed_extract/lib/
[*] Found missing area: /lib//libdbus-1.so.3
[*] Trying to identify this missing file: libdbus-1.so.3
[*] Possible matching file found: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/56048-12514271.gzip_extract/gzip.uncompressed_extract/5243916-15068666.gzip_extract/gzip.uncompressed_extract/usr/lib/libdbus-1.so.3
[*] Copy file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/56048-12514271.gzip_extract/gzip.uncompressed_extract/5243916-15068666.gzip_extract/gzip.uncompressed_extract/usr/lib/libdbus-1.so.3 to /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/56048-12514271.gzip_extract/gzip.uncompressed_extract/5243916-15068666.gzip_extract/gzip.uncompressed_extract/lib/

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