-----------------------------------------------------------------
[*] Initial strace run with jchroot on the command ./usr/bin/xmllint to identify missing areas
[*] Emulating binary name: xmllint 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/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract (1/2)
[*] Using CPU config:
1 brk(NULL) = 0x400196f8
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_LARGEFILE|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libxml2.so.2",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d158,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1ce70) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f7dd000
1 mmap2(NULL,877120,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f706000
1 mmap2(0x3f7d6000,24576,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0xd0) = 0x3f7d6000
1 mmap2(0x3f7dc000,576,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f7dc000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libgcc_s.so.1",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d148,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1ce60) = 0
1 mmap2(NULL,102460,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f6ec000
1 mmap2(0x3f704000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x18) = 0x3f704000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libc.so.6",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d138,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1ce50) = 0
1 mmap2(NULL,1108064,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f5dd000
1 mmap2(0x3f6df000,16384,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x101) = 0x3f6df000
1 mmap2(0x3f6e3000,34912,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f6e3000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libz.so.1",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d118,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1ce30) = 0
1 mmap2(NULL,65544,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f5cc000
1 mmap2(0x3f5db000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0xe) = 0x3f5db000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libm.so.6",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d108,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1ce20) = 0
1 mmap2(NULL,266256,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f58a000
1 mmap2(0x3f5ca000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x3f) = 0x3f5ca000
1 close(3) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f588000
1 set_tid_address(0x3f588088) = 1
1 set_robust_list(0x3f58808c,12) = -1 errno=38 (Function not implemented)
1 Unknown syscall 398
1 mprotect(0x3f6df000,8192,PROT_READ) = 0
1 mprotect(0x3f5ca000,4096,PROT_READ) = 0
1 mprotect(0x3f704000,4096,PROT_READ) = 0
1 mprotect(0x3f5db000,4096,PROT_READ) = 0
1 mprotect(0x3f7d6000,20480,PROT_READ) = 0
1 mprotect(0x4000c000,4096,PROT_READ) = 0
1 mprotect(0x3f7fd000,4096,PROT_READ) = 0
1 ugetrlimit(3,1072814552,1064220574,1064195844,1,1064177248) = 0
1 write(2,0x3ff1bba8,49)Usage : ./usr/bin/xmllint [options] XMLfiles ...
= 49
1 write(2,0x40009570,58) Parse the XML files and output the result of the parsing
= 58
1 write(2,0x400095ac,57) --version : display the version of the XML library used
= 57
1 write(2,0x400095e8,54) --debug : dump the nodes content when using --stream
= 54
1 write(2,0x40009620,56) --copy : used to test the internal copy implementation
= 56
1 write(2,0x4000965c,62) --recover : output what was parsable on broken XML documents
= 62
1 write(2,0x4000969c,54) --huge : remove any internal arbitrary parser limits
= 54
1 write(2,0x400096d4,55) --noent : substitute entity references by their value
= 55
1 write(2,0x4000970c,61) --noenc : ignore any encoding specified inside the document
= 61
1 write(2,0x4000974c,40) --noout : don't output the result tree
= 40
1 write(2,0x40009778,54) --path 'paths': provide a set of paths for resources
= 54
1 write(2,0x400097b0,60) --load-trace : print trace of all external entities loaded
= 60
1 write(2,0x400097f0,57) --nonet : refuse to fetch DTDs or entities over network
= 57
1 write(2,0x4000982c,50) --nocompact : do not generate compact text nodes
= 50
1 write(2,0x40009860,36) --htmlout : output results as HTML
= 36
1 write(2,0x40009888,40) --nowrap : do not put HTML doc wrapper
= 40
1 write(2,0x400098b4,70) --valid : validate the document in addition to std well-formed check
= 70
1 write(2,0x400098fc,61) --postvalid : do a posteriori validation, i.e after parsing
= 61
1 write(2,0x4000993c,65) --dtdvalid URL : do a posteriori validation against a given DTD
= 65
1 write(2,0x40009980,68) --dtdvalidfpi FPI : same but name the DTD with a Public Identifier
= 68
1 write(2,0x400099c8,35) --quiet : be quiet when succeeded
= 35
1 write(2,0x400099ec,31) --timing : print some timings
= 31
1 write(2,0x40009a0c,48) --output file or -o file: save to a given file
= 48
1 write(2,0x40009a40,54) --repeat : repeat 100 times, for timing or profiling
= 54
1 write(2,0x40009a78,45) --insert : ad-hoc test for valid insertions
= 45
1 write(2,0x40009aa8,49) --compress : turn on gzip compression of output
= 49
1 write(2,0x40009adc,30) --html : use the HTML parser
= 30
1 write(2,0x40009afc,62) --xmlout : force to use the XML serializer when using --html
= 62
1 write(2,0x40009b3c,42) --nodefdtd : do not default HTML doctype
= 42
1 write(2,0x40009b68,42) --push : use the push mode of the parser
= 42
1 write(2,0x40009b94,69) --pushsmall : use the push mode of the parser using tiny increments
= 69
1 write(2,0x40009bdc,30) --memory : parse from memory
= 30
1 write(2,0x40009bfc,62) --maxmem nbbytes : limits memory allocation to nbbytes bytes
= 62
1 write(2,0x40009c3c,58) --nowarning : do not emit warnings from parser/validator
= 58
1 write(2,0x40009c78,46) --noblanks : drop (ignorable?) blanks spaces
= 46
1 write(2,0x40009ca8,51) --nocdata : replace cdata section with text nodes
= 51
1 write(2,0x40009cdc,41) --format : reformat/reindent the output
= 41
1 write(2,0x40009d08,50) --encode encoding : output in the given encoding
= 50
1 write(2,0x40009d3c,50) --dropdtd : remove the DOCTYPE of the input docs
= 50
1 write(2,0x40009d70,53) --pretty STYLE : pretty-print in a particular style
= 53
1 write(2,0x40009da8,40) 0 Do not pretty print
= 40
1 write(2,0x40009dd4,56) 1 Format the XML content, as --format
= 56
1 write(2,0x40009e10,67) 2 Add whitespace inside tags, preserving content
= 67
1 write(2,0x40009e54,60) --c14n : save in W3C canonical format v1.0 (with comments)
= 60
1 write(2,0x40009e94,62) --c14n11 : save in W3C canonical format v1.1 (with comments)
= 62
1 write(2,0x40009ed4,69) --exc-c14n : save in W3C exclusive canonical format (with comments)
= 69
1 write(2,0x40009f1c,53) --nsclean : remove redundant namespace declarations
= 53
1 write(2,0x40009f54,34) --testIO : test user I/O support
= 34
1 write(2,0x40009f78,57) --catalogs : use SGML catalogs from $SGML_CATALOG_FILES
= 57
1 write(2,0x40009fb4,52) otherwise XML Catalogs starting from
= 52
1 write(2,0x3ff1bba8,59) file:///etc/xml/catalog are activated by default
= 59
1 write(2,0x4000a02c,39) --nocatalogs: deactivate all catalogs
= 39
1 write(2,0x4000a054,42) --auto : generate a small doc on the fly
= 42
1 write(2,0x4000a080,37) --xinclude : do XInclude processing
= 37
1 write(2,0x4000a0a8,60) --noxincludenode : same but do not generate XInclude nodes
= 60
1 write(2,0x4000a0e8,50) --nofixup-base-uris : do not fixup xml:base uris
= 50
1 write(2,0x4000a11c,32) --loaddtd : fetch external DTD
= 32
1 write(2,0x4000a140,68) --dtdattr : loaddtd + populate the tree with inherited attributes
= 68
1 write(2,0x4000a188,68) --stream : use the streaming interface to process very large files
= 68
1 write(2,0x4000a1d0,62) --walker : create a reader and walk though the resulting doc
= 62
1 write(2,0x4000a210,52) --pattern pattern_value : test the pattern support
= 52
1 write(2,0x4000a248,51) --chkregister : verify the node registration code
= 51
1 write(2,0x4000a27c,61) --relaxng schema : do RelaxNG validation against the schema
= 61
1 write(2,0x4000a2bc,56) --schema schema : do validation against the WXS schema
= 56
1 write(2,0x4000a2f8,58) --schematron schema : do validation against a schematron
= 58
1 write(2,0x4000a334,52) --sax1: use the old SAX1 interfaces for processing
= 52
1 write(2,0x4000a36c,59) --sax: do not build a tree but work just at the SAX level
= 59
1 write(2,0x4000a3a8,62) --oldxml10: use XML-1.0 parsing rules before the 5th edition
= 62
1 write(2,0x4000a3e8,60) --xpath expr: evaluate the XPath expression, imply --noout
= 60
1 write(2,0x4000a428,66)
Libxml project home page: https://gitlab.gnome.org/GNOME/libxml2
= 66
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/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/etc/ld.so.cache
-----------------------------------------------------------------