-----------------------------------------------------------------
[*] Initial strace run with jchroot on the command ./usr/sbin/odhcp6c to identify missing areas
[*] Emulating binary name: odhcp6c 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/1568982-13971496.squashfs_v4_le_extract (1/1)
[*] Using CPU config:
1 brk(NULL) = 0x00418670
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ffc8000
1 uname(0x4071e710) = 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/libresolv.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e494,512) = 512
1 prctl(46,9,1081205908,512,1073770496,0) = 0
1 _llseek(3,0,648,0x4071e248,SEEK_SET) = 0
1 read(3,0x4071e278,32) = 32
1 fstat64(3,0x4071e358) = 0
1 mmap2(NULL,149696,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3ffa3000
1 mprotect(0x3ffb5000,61440,PROT_NONE) = 0
1 mmap2(0x3ffc4000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x11) = 0x3ffc4000
1 mmap2(0x3ffc6000,6336,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3ffc6000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libubox.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e47c,512) = 512
1 prctl(46,8,1081205884,512,1073770496,0) = 0
1 fstat64(3,0x4071e340) = 0
1 mmap2(NULL,99696,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3ff8a000
1 mprotect(0x3ff92000,61440,PROT_NONE) = 0
1 mmap2(0x3ffa1000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x7) = 0x3ffa1000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libgcc_s.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e464,512) = 512
1 prctl(46,9,1081205860,512,1073770496,0) = 0
1 fstat64(3,0x4071e328) = 0
1 mmap2(NULL,144160,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3ff66000
1 mprotect(0x3ff79000,61440,PROT_NONE) = 0
1 mmap2(0x3ff88000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x12) = 0x3ff88000
1 mprotect(0x4071e000,4096,PROT_EXEC|PROT_READ|PROT_WRITE|PROT_GROWSDOWN) = 0
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libc.so.6",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e44c,512) = 512
1 prctl(46,13,1081205836,512,1073770496,0) = 0
1 _llseek(3,0,792,0x4071e208,SEEK_SET) = 0
1 read(3,0x4071e238,32) = 32
1 fstat64(3,0x4071e310) = 0
1 mmap2(NULL,1630336,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3fdd7000
1 mprotect(0x3ff4d000,61440,PROT_NONE) = 0
1 mmap2(0x3ff5c000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x175) = 0x3ff5c000
1 mmap2(0x3ff63000,8320,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3ff63000
1 close(3) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3fdd5000
1 set_thread_area(0x3fddc4a0) = 0
1 mprotect(0x3ff5c000,16384,PROT_READ) = 0
1 mprotect(0x3ff88000,4096,PROT_READ) = 0
1 mprotect(0x3ffa1000,4096,PROT_READ) = 0
1 mprotect(0x3ffc4000,4096,PROT_READ) = 0
1 mprotect(0x00417000,4096,PROT_READ) = 0
1 mprotect(0x3fffe000,4096,PROT_READ) = 0
1 write(2,0x4071e7b0,1431)Usage: odhcp6c [options] <interface>
Feature options:
-S <time> Wait at least <time> sec for a DHCP-server (0)
-N <ode> Mode for requesting addresses [try|force|none]
-P <length> Request IPv6-Prefix (0 = auto)
-F Force IPv6-Prefix
-V <class> Set vendor-class option (base-16 encoded)
-u <user-class> Set user-class option string
-x <opt>:<val> Add option opt (with value val) in sent packets (cumulative)
Examples of IPv6 address, string and base-16 encoded options:
-x dns:2001:2001::1,2001:2001::2 - option 23
-x 15:office - option 15 (userclass)
-x 0x1f4:ABBA - option 500
-x 202:'"file"' - option 202
-c <clientid> Override client-ID (base-16 encoded 16-bit type + value)
-i <iface-id> Use a custom interface identifier for RA handling
-r <options> Options to be requested (comma-separated)
-R Do not request any options except those specified with -r
-s <script> Status update script (/usr/sbin/odhcp6c-update)
-a Don't send Accept Reconfigure option
-f Don't send Client FQDN option
-k Don't send a RELEASE when stopping
-t <seconds> Maximum timeout for DHCPv6-SOLICIT (120)
-m <seconds> Minimum time between accepting RA updates (3)
-L Ignore default lifetime for RDNSS records
-U Ignore Server Unicast option
Invocation options:
-p <pidfile> Set pidfile (/var/run/odhcp6c.pid)
-d Daemonize
-e Write logmessages to stderr
-v Increase logging verbosity
-h Show this help
= 1431
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/1568982-13971496.squashfs_v4_le_extract/etc/ld.so.cache
-----------------------------------------------------------------