Commit Graph
1279 Commits
Author SHA1 Message Date
Dylan M. Taylor 289e5b5118 Use shared Source Map v3 parser and lookup core 2026-11-17 07:49:11 -05:00
Dylan M. Taylor 0b8238ff92 Merge pull request #2025 from storytold/refactor/shared-pe-headers
Use shared PE headers and bounded Rich header reader
2026-11-17 07:42:08 -05:00
Dylan M. Taylor a0b7304b40 Merge main retaining Mach-O and PE shared readers 2026-11-17 06:13:20 -05:00
Dylan M. Taylor e5c9c94106 Merge pull request #2024 from storytold/refactor/shared-macho-primitives
Use shared Mach-O universal and thread-state primitives
2026-11-17 06:12:16 -05:00
Dylan M. Taylor 162b51b203 Use shared PE headers and bounded Rich header reader 2026-11-17 05:44:57 -05:00
Dylan M. Taylor f7e42ec1e2 Merge main preserving shared ELF and Mach-O integrations 2026-11-17 05:43:25 -05:00
Dylan M. Taylor 64bc414b36 Use shared Mach-O universal and thread-state primitives 2026-11-17 05:09:12 -05:00
Dylan M. Taylor 7d3dad1ed9 Merge pull request #2022 from storytold/refactor/shared-elf-headers
Use shared ELF program headers and bounded dynamic entries
2026-11-17 05:07:22 -05:00
Justin John db8b9777e2 Run Vineflower and JADX on the Java folder set for Ghidra (R5.7) (#2023)
A Java folder set for Ghidra in Settings → Engines was used only to run Ghidra, so with no system Java, Vineflower said Java wasn't installed and JADX could not start. The Java runtime lookup now returns that folder's bin/java when no path is set for Java itself, so Vineflower, JADX, the engine list and doctor all find it. A path set for Java itself still wins, and a folder with no bin/java is ignored.
2026-11-17 17:05:37 +07:00
Dylan M. Taylor c129ce6210 test: reuse unchanged ELF byte reader in compatibility oracle 2026-11-17 04:35:31 -05:00
Dylan M. Taylor 860918848e test: borrow ELF header in parity assertion 2026-11-17 04:33:55 -05:00
Dylan M. Taylor 2c2a84f16b Use shared ELF program headers and dynamic entries 2026-11-17 03:22:28 -05:00
Justin John acacd13b4a Say what's wrong with an engine path set for adb, Frida, GDB, Rizin, lldb, JADX, Apktool or tshark (#2021)
When a folder set in Settings → Engines didn't hold the program, these tools said the program wasn't installed. They now use the shared lookup and wording that the Java and disassembler tools already use: the folder set for it has no such program, or the path set for it isn't there, with how to correct it. Optional engines keep their "not installed, that's fine" note when no path is set.
2026-11-17 13:49:15 +07:00
BFlat ba46f341ab Merge pull request #2012 from storytold/bugfix/freebsd-console-capture
Process capture was refused on FreeBSD, where a terminal loses a short program's output when it exits, so two console tests have failed in the nightly FreeBSD job. FreeBSD now uses the pipe capture Windows already uses, with the program's process group ended with it; scripted input, resizes, signals and watched files are still refused there. Linux, macOS and Windows are unchanged.
2026-11-17 12:31:01 +07:00
FredApps 4aeaa0ec11 Expect the no-desktop sign-in refusal on FreeBSD too
no_display_error refuses a sign-in window without DISPLAY or
WAYLAND_DISPLAY on every Unix but macOS, but its test expected that only
on Linux, so it failed on FreeBSD once the console capture tests stopped
ending the run first.
2026-11-17 06:10:32 +01:00
BFlat 4402d170f9 Merge pull request #2015 from Plastic-time/bugfix/r3.12-html-legacy-script-language
A script tag with language="VBScript" and no type was listed as JavaScript. When type is absent a browser uses the legacy language value to pick the script's type, so a language that is not a JavaScript one is no longer listed. An explicit type still decides, even an empty one.
2026-11-17 12:05:54 +07:00
BFlat 1b0f5025fb Merge pull request #2011 from htcom-code/bugfix/r3.13-js-dialog-blocks-open
A page that opens an alert while loading waits for someone to close it, and nothing did, so opening the site always ran into its deadline and a rebuild could not study it (#2010). The session's page client now answers dialogs as they open: an alert or a leave-page question is accepted so the page can go on, and a confirm or prompt is dismissed so nothing is agreed to for the person. The result lists the dialogs the page opened and how each was answered.
2026-11-17 12:05:33 +07:00
BFlat 854f50e129 Merge pull request #2014 from Plastic-time/bugfix/r3.12-sqlite-parenthesized-primary-key
SQLite accepts a primary key written as PRIMARY KEY((a), b) in a WITHOUT ROWID table. The reader stopped at the first closing parenthesis and could not work out the stored row layout. It now reads to the matching end of the key list, finds the column inside redundant parentheses and uses its outermost collation.
2026-11-17 12:02:46 +07:00
BFlat ecaa1027e6 Merge pull request #2005 from Plastic-time/bugfix/r3.12-dos-extended-pe-signature
The DOS header report took any "PE" prefix at the extended-header offset for a Windows extension, including a cut-off signature or "PENA" in unrelated bytes. The full four-byte signature is now required. A complete signature that overlaps the DOS header, as hand-packed small executables have, is still reported.
2026-11-17 12:02:08 +07:00
BFlat cf749a926d Merge pull request #2009 from Plastic-time/bugfix/r3.12-java-truncated-attributes
A Java class file that ended partway through a class-level attribute was read with no warning, so source or signature details after the cut were silently missing. The reader now keeps the attributes it could read and warns when the table ends early.
2026-11-17 11:48:08 +07:00
BFlat f87737c213 Merge pull request #2008 from Fadlalla-ai/bugfix/r5.7-live-pin-external-build
Follow-up to #1964, which made a pin without a recorded program look only inside its own folder. A saved Live pin has no copy: its folder is the project's own app, so with the project built into a shared or parent target directory it found nothing to start. Such a pin now uses the same lookup as Play; pins that keep a copy still look only inside it.
2026-11-17 11:46:41 +07:00
BFlat e32b09b910 Merge pull request #2007 from Plastic-time/bugfix/r3.12-tar-pax-size-precedence
A TAR member with a valid PAX size still stopped the archive walk when its superseded size field held invalid octal, so later members vanished from the listing. The PAX size is now read first for ordinary members, and the old field is read and checked only when no override applies.
2026-11-17 11:46:35 +07:00
RRFZ 6163368bea Keep PE signatures that overlap the DOS header 2026-11-16 23:46:20 -05:00
BFlat 11fad9bb2e Merge pull request #2004 from Plastic-time/bugfix/r3.12-ipv6-no-next-header
An IPv6 packet whose Next Header is 59 (no next header) got an invented "other" transport record that included any bytes after the header. Transport decoding now stops at 59, also when an extension header supplies it; other protocol values are decoded as before.
2026-11-17 11:45:41 +07:00
htjulia bd7ed31182 Note the page tools that don't answer dialogs yet (R3.13)
Co-Authored-By: htjulia <htjulia1@gmail.com>
2026-11-17 13:45:38 +09:00
htjulia 34a0b11df1 Answer a page's JavaScript dialogs so web_site_open doesn't time out (R3.13)
A page that opened an alert while loading waited for someone to close
it, and nothing did, so the open always ran into its deadline. Alerts
and beforeunload are accepted so the page can go on; confirm and
prompt are dismissed so nothing is agreed to for the person. The
result says which dialogs the page opened and how each was answered.

Fixes #2010

Co-Authored-By: htjulia <htjulia1@gmail.com>
2026-11-17 13:44:48 +09:00
BFlat 75b078888b Merge pull request #2006 from Plastic-time/bugfix/r3.12-indexed-map-source-inventory
An indexed source map that also carried a top-level `sources` list reported those names as part of the bundle although no section maps to them, and they could push a real source out of a full inventory. An indexed map now keeps only its file name and takes its sources from its sections.
2026-11-17 11:42:21 +07:00
FredApps 815655a482 Capture console programs on FreeBSD through pipes instead of refusing
On FreeBSD process capture was a stub that returned "only available on
Linux and macOS", so a console study kept no runs and a console run check
never ran the build. The nightly FreeBSD job has failed on the two tests
that cover them since they landed (#1679, #1702).

FreeBSD now captures the way Windows does: the program runs through
platform::process (its process group is ended with it) and its output is
read through pipes, which keep what a short program wrote after it exits;
a terminal on FreeBSD loses it. Scripted input, resizes, signals and
watched files still need the terminal capture and are refused there.

The pipe capture now has a Unix test, and capture_and_compare_echo runs on
every Unix rather than only Linux and macOS.
2026-11-17 05:41:11 +01:00
htjulia 1b2f7e5eec Claim the JavaScript dialog fix for web_site_open (R3.13)
Co-Authored-By: htjulia <htjulia1@gmail.com>
2026-11-17 13:38:30 +09:00
RRFZ b259436c53 Honor legacy HTML script language when type is absent (R3.12) 2026-11-16 23:35:26 -05:00
RRFZ d2953f60dd Read parenthesized SQLite primary-key columns (R3.12) 2026-11-16 23:34:23 -05:00
RRFZ 2a944ea978 Claim R3.12: html-legacy-script-language 2026-11-16 23:29:29 -05:00
RRFZ 31de5dfdcc Claim R3.12: sqlite-parenthesized-primary-key 2026-11-16 23:29:27 -05:00
BFlat b87fce648a Merge pull request #2001 from Plastic-time/bugfix/r3.12-macho-complete-command-paths
The Mach-O readers took the whole remainder of a load command as a library name or runpath when its path had no terminating NUL, so a command that never finished its string still supplied dependency evidence. The NUL must now be inside the command, in both summary views.
2026-11-17 11:28:14 +07:00
Fadlalla-ai b92c9a3afd Let a saved Live pin find the project's build outside the app, as Play does 2026-11-17 08:23:02 +04:00
RRFZ d29465c20b Use PAX sizes before reading TAR member size fields (R3.12) 2026-11-16 23:21:43 -05:00
Fadlalla-ai 45c1200d54 Claim: a saved Live pin doesn't find a build outside the project 2026-11-17 08:21:18 +04:00
RRFZ 420552ff74 Report truncated Java class attribute tables (R3.12) 2026-11-16 23:19:02 -05:00
RRFZ baadb49201 Merge commit '6f07bad8c4794d75f34ff1646199e510b968b094' into bugfix/r3.12-java-truncated-attributes 2026-11-16 23:19:01 -05:00
RRFZ 481b3991fc Merge commit '6f07bad8c4794d75f34ff1646199e510b968b094' into bugfix/r3.12-tar-pax-size-precedence 2026-11-16 23:19:00 -05:00
RRFZ 0b1a643944 List sources from the section maps of an indexed source map (R3.12) 2026-11-16 23:18:59 -05:00
RRFZ 1c81805d44 Merge commit '6f07bad8c4794d75f34ff1646199e510b968b094' into bugfix/r3.12-indexed-map-source-inventory 2026-11-16 23:18:59 -05:00
RRFZ 7343ab0f40 Require the complete PE signature in DOS header reports (R3.12) 2026-11-16 23:18:58 -05:00
RRFZ 2bf656fbc0 Merge commit '6f07bad8c4794d75f34ff1646199e510b968b094' into bugfix/r3.12-dos-extended-pe-signature 2026-11-16 23:18:58 -05:00
RRFZ 3836b5bd52 Stop IPv6 packet decoding at No Next Header (R3.12) 2026-11-16 23:18:57 -05:00
RRFZ 0ceee9dc14 Merge commit '6f07bad8c4794d75f34ff1646199e510b968b094' into bugfix/r3.12-ipv6-no-next-header 2026-11-16 23:18:56 -05:00
BFlat 6f07bad8c4 Merge pull request #2003 from Plastic-time/bugfix/r3.12-html-exact-module-keyword
A script whose type was the module keyword with spaces around it was listed as a classic script, and a whitespace-only type was listed too, although browsers run neither. The keyword and the empty attribute are now matched exactly, before the whitespace trimming that classic script types get. Checked in a Chromium 156 page: padded and tab-prefixed module types and a whitespace-only type did not run.
2026-11-17 11:16:02 +07:00
BFlat 2708ee35c8 Merge pull request #2002 from Plastic-time/bugfix/r3.13-html-meta-csp-list
A page with two meta Content-Security-Policy declarations reported only the last one, and an empty later declaration could hide an earlier policy. Every non-empty policy is now kept, in document order, joined with a comma as a policy list is written.
2026-11-17 11:15:32 +07:00
RRFZ 54c8e6780c Claim R3.12: java-truncated-attributes 2026-11-16 23:14:25 -05:00
RRFZ feff90c291 Claim R3.12: tar-pax-size-precedence 2026-11-16 23:14:22 -05:00