morluto
0e662ac8bd
fix(artifacts): classify ELF and thin Mach-O only when their headers decode ( #10650 )
...
* fix(artifacts): classify ELF and thin Mach-O only when their headers decode
Inventory classified a file as elf or mach-o on its magic number alone,
while target resolution requires a decodable ELF fixed header and a
walkable Mach-O load-command table. A magic-only stub or a Mach-O with
corrupt load commands was inventoried as an executable that open_binary
then refused. Both routes now share readNativeHeaderFormat; such files
are classified unknown.
* test(applications): give mobile application fixtures decodable native headers
Inventory now classifies ELF and thin Mach-O only when their headers decode, so the 8-byte magic stubs in the Android and Apple application fixtures no longer count as native code. Use the shared minimal header fixtures instead.
2026-11-15 09:52:48 +08:00
..
2026-11-15 09:52:48 +08:00
2026-11-14 13:21:13 +08:00
2026-11-14 05:27:07 +08:00
2026-11-14 14:06:23 +01:00
2026-11-14 14:37:04 -05:00
2026-11-14 19:28:38 +08:00
2026-11-14 05:27:07 +08:00
2026-11-14 14:06:23 +01:00
2026-11-14 04:08:37 -05:00
2026-11-14 04:08:37 -05:00
2026-11-14 04:08:37 -05:00
2026-11-14 16:31:24 +01:00
2026-11-14 12:13:56 +01:00
2026-11-14 13:21:13 +08:00
2026-11-14 16:31:24 +01:00
2026-11-13 10:11:06 -05:00
2026-11-14 04:08:37 -05:00
2026-11-11 05:07:30 -05:00
2026-11-14 04:08:37 -05:00
2026-11-13 10:11:06 -05:00
2026-11-14 13:21:13 +08:00
2026-11-14 13:21:13 +08:00
2026-11-14 14:28:08 +08:00
2026-11-11 19:48:33 +08:00
2026-10-23 23:02:07 +08:00
2026-11-14 05:27:07 +08:00
2026-11-14 13:21:13 +08:00
2026-11-14 05:27:07 +08:00
2026-11-14 14:59:41 +01:00
2026-11-14 14:28:08 +08:00
2026-11-14 16:31:24 +01:00
2026-11-14 04:08:37 -05:00
2026-11-14 14:28:08 +08:00
2026-11-14 14:28:08 +08:00
2026-11-14 14:28:08 +08:00
2026-11-08 00:01:18 +08:00
2026-11-14 14:28:08 +08:00
2026-11-14 14:28:08 +08:00
2026-11-14 14:28:08 +08:00
2026-11-14 14:28:08 +08:00
2026-11-14 04:08:37 -05:00
2026-11-14 18:57:45 -05:00
2026-11-14 05:27:07 +08:00
2026-11-08 16:39:20 +00:00
2026-11-14 18:58:48 -05:00
2026-11-14 14:28:08 +08:00
2026-11-14 04:08:37 -05:00
2026-11-14 13:21:13 +08:00
2026-11-14 13:21:13 +08:00
2026-11-14 04:08:37 -05:00
2026-11-14 16:31:24 +01:00
2026-11-14 14:28:08 +08:00
2026-11-14 14:28:08 +08:00
2026-11-14 11:47:55 +08:00
2026-11-14 04:08:37 -05:00
2026-11-14 14:28:08 +08:00
2026-11-14 11:47:55 +08:00
2026-11-14 14:28:08 +08:00
2026-11-14 05:27:07 +08:00
2026-11-14 18:58:59 -05:00
2026-11-14 14:06:23 +01:00
2026-11-14 05:27:07 +08:00
2026-11-14 05:27:07 +08:00
2026-11-11 18:13:18 +08:00
2026-11-14 13:21:13 +08:00
2026-11-14 13:21:13 +08:00
2026-11-14 05:27:07 +08:00
2026-11-14 14:28:08 +08:00
2026-11-14 14:28:08 +08:00
2026-11-14 16:31:24 +01:00
2026-11-14 13:21:13 +08:00
2026-11-14 13:37:55 +01:00
2026-11-14 05:27:07 +08:00
2026-11-14 04:42:35 +01:00
2026-11-14 14:28:08 +08:00
2026-11-14 14:28:08 +08:00
2026-11-14 04:08:37 -05:00
2026-11-14 14:28:08 +08:00
2026-11-14 14:28:08 +08:00
2026-11-14 13:21:13 +08:00
2026-11-14 05:27:07 +08:00
2026-11-14 13:21:13 +08:00
2026-11-13 10:11:06 -05:00
2026-11-14 14:16:39 +01:00
2026-11-14 13:21:13 +08:00
2026-11-13 06:06:47 -08:00