Commit Graph
978 Commits
Author SHA1 Message Date
BFlat aa2e6b9095 Merge pull request #2064 from Plastic-time/bugfix/r3.11-a32-reglist-reads-writes
For ARM32 and Thumb `pop`, `push`, `ldm` and `stm`, only the first listed register was treated as written and the rest as read, so `pop {r0, r1}` looked as if it read r1 and a load's base register looked written. Every register a `pop` or `ldm` loads is now recorded as written, every register a `push` or `stm` stores as read, and the base register as read (and written only with `!`).
2026-11-18 08:21:07 +07:00
BFlat 743a2f6a93 Merge pull request #2062 from Plastic-time/bugfix/r3.12-sqlite-adjacent-table-constraints
SQLite lets table constraints follow each other without a comma (`UNIQUE(v) PRIMARY KEY(id)`) and lets a key column sit in extra parentheses (`PRIMARY KEY((id))`). Both the rowid-alias check and the WITHOUT ROWID key layout now find the primary key in those forms, so rows from such tables show their key values in the right columns.
2026-11-18 08:18:57 +07:00
BFlat 9db8830a1a Merge pull request #2063 from Plastic-time/bugfix/r3.12-indexed-sourcemap-content-counts
An indexed source map (one made of sections) always reported 0 sources with embedded content, because only the top level was counted; the count now includes every inline section, nested ones too. A stand-alone map named like `app.map.map` also lost both suffixes when its script name was worked out; only the last `.map` is removed now.
2026-11-18 07:53:23 +07:00
RRFZ 769ae52f12 Record implicit r13 read/write effects on Thumb pop and push 2026-11-17 19:48:50 -05:00
BFlat 6701cfa207 Merge pull request #2061 from Plastic-time/bugfix/r3.11-a64-cmn-zero-destination
On AArch64, a `cmn` followed by a conditional branch was shown as `if (wzr == 0)`, and writes to the zero register appeared as statements (`wzr = w0 + 1;`). The condition is now shown as `(a + b) <op> 0`, and writes to `wzr`/`xzr` are left out while their flags are still used.
2026-11-18 07:47:27 +07:00
BFlat 83580ca3f4 Merge pull request #2059 from Plastic-time/bugfix/r3.12-js-compare-exclusive-tiers
Comparing two versions of a JavaScript app matched each old module against every rule before moving to the next, so an earlier module's weaker match (same structure, or same id) could take a new module that a later one matched exactly, and one new module could be reported twice. Modules are now matched one rule at a time across all of them, strongest first, and each new module is claimed once.
2026-11-18 07:44:11 +07:00
BFlat f2f8d492ab Merge pull request #2058 from Plastic-time/bugfix/r2.2-toml-inline-servers-table
When another app's config.toml wrote its server list inline (`mcp_servers = {}` or `mcp_servers = { other = … }`), setup refused with "exists but is not a table" and the plan was blocked. Setup now writes into an inline table too, keeping the other entries, comments and line endings, and merging into an entry it already owns. A value that is not a table is still refused.
2026-11-18 07:40:28 +07:00
RRFZ 351444ab7b Count indexed source map content across sections and strip literal map suffix 2026-11-17 19:27:00 -05:00
BFlat 5a86212ea4 Merge pull request #2053 from Plastic-time/bugfix/r3.13-har-secret-encodings
A value the person declared as hidden could still appear in a network capture view or a stand-in when it was written the way a form posts it (spaces as `+` with other characters percent-encoded), with mixed-case percent escapes, or as an encoded form field name. Those spellings are now matched, without regard to letter case, with the longest spelling replaced first.
2026-11-18 07:26:26 +07:00
RRFZ 4d55d6fcae Read SQLite primary keys across adjacent table constraints 2026-11-17 19:23:31 -05:00
RRFZ 20c7f02263 Claim R3.12 indexed source map content counts and suffix fix 2026-11-17 19:21:50 -05:00
BFlat eb64560bbb Merge pull request #2055 from Plastic-time/bugfix/r3.12-graphql-directive-trivia
Follow-up to #2047. GraphQL allows spaces, commas and comments between `@` and a directive's name; a document written that way was rejected and its operations were lost. Those ignored tokens are now skipped in directive annotations and directive definitions.
2026-11-18 07:16:32 +07:00
BFlat 4a6eb485c7 Merge pull request #2054 from Plastic-time/bugfix/r3.12-csharp-verbatim-checked-conversion
Follow-up to #2049. A conversion operator whose target type is named `@checked` was read as a checked operator with no target type, because the `@` was lost before the name was compared with the `checked` keyword. The keyword is now recognised only when it was written without `@`.
2026-11-18 07:14:23 +07:00
RRFZ 89682f7ae5 Claim R3.12: sqlite-adjacent-table-constraints 2026-11-17 19:12:20 -05:00
RRFZ 1a1f9ae721 Record full register-list and base-pointer effects in ARM32/Thumb decoding (R3.11) 2026-11-17 19:11:26 -05:00
RRFZ dd4d9fa233 Lift AArch64 cmn conditions and skip zero-register writes in pseudo-C (R3.11) 2026-11-17 19:03:49 -05:00
BFlat 9dff98c696 Merge pull request #2051 from Plastic-time/bugfix/r3.12-keyed-archive-nsbytes-nsdate
In an Apple keyed archive, a string whose bytes were stored as a reference to another object was shown as raw data, and a date stored as a whole number of seconds was not shown as a date. References are now followed, within the existing byte and node limits, and integer times are formatted as dates.
2026-11-18 07:02:40 +07:00
RRFZ e3ffe6b79e Match comparison modules across exclusive priority passes (R3.12) 2026-11-17 19:00:10 -05:00
RRFZ 53d3ccc768 Retain quote_plus-style form needles alongside WHATWG form encoding 2026-11-17 18:54:08 -05:00
RRFZ 3b8ca5e52f Claim R3.12: js-compare-exclusive-tiers 2026-11-17 18:53:44 -05:00
RRFZ 3fb4c05f24 Support inline mcp_servers TOML tables in setup edits (R2.2) 2026-11-17 18:52:20 -05:00
RRFZ 9c2dc47376 Accept non-UID scalar reached on 16th UID hop in keyed archive 2026-11-17 18:27:14 -05:00
RRFZ 51a4dde273 Separate form and generic safe chars in HAR encode_query 2026-11-17 18:27:14 -05:00
RRFZ 490835d445 Skip GraphQL trivia after @ before directive names 2026-11-17 18:12:14 -05:00
RRFZ da5cc8d372 Check kw flag before stripping checked in C# conversion operators 2026-11-17 18:12:14 -05:00
RRFZ 274d0e654e Claim R3.12: graphql-directive-trivia 2026-11-17 18:01:38 -05:00
RRFZ 3239481ec2 Claim R3.12: csharp-verbatim-checked-conversion 2026-11-17 18:01:38 -05:00
RRFZ 17bf314643 Apply case-insensitive and decoded secret scrubbing in standin 2026-11-17 17:57:21 -05:00
RRFZ 10507ddbc8 Share plist apple_date_int_iso bound for integer NS.time 2026-11-17 17:57:20 -05:00
BFlat 7877d3bf9c Merge pull request #2050 from Plastic-time/bugfix/r3.12-squashfs-table-bounds
The SquashFS reader ended the inode table at the directory table and the directory table at the fragment or id table. An image with an export or xattr table in between, or with its tables in another order, was read past the table's end and reported as damaged. Each table now ends at the nearest following table of the six, or at the end of the filesystem.
2026-11-18 05:55:57 +07:00
BFlat 743d896094 Merge pull request #2049 from Plastic-time/bugfix/r3.12-csharp-verbatim-identifiers
A C# member or parameter named with a verbatim identifier (`@class`, `@namespace`, `@event`, `@operator`) had its `@` dropped and was then read as the keyword, which opened fake scopes and changed member kinds. Verbatim identifiers are now kept as names and never matched as keywords or modifiers.
2026-11-18 05:55:50 +07:00
BFlat 5d14417833 Merge pull request #2048 from Plastic-time/bugfix/r3.12-axml-typed-booleans
An Android manifest flag stored as an integer (`exported` = 0, `debuggable` = 1) was read as not set, so a component marked not exported could be reported as exported. Integer-typed values are now read as booleans as Android does, and only the un-namespaced `package` attribute names the package.
2026-11-18 05:55:43 +07:00
BFlat bc6198ee75 Merge pull request #2047 from Plastic-time/bugfix/r3.12-graphql-type-system-definitions
A GraphQL document that also declared a type-system definition without braces (`scalar`, `union`, `directive`, `extend`) or began with a description lost the operations after it, because the reader looked for a brace that never came. Those definitions and descriptions are now stepped over by their own grammar.
2026-11-18 05:55:36 +07:00
BFlat fa4788e0d2 Merge pull request #2046 from Plastic-time/bugfix/r3.11-pseudo-string-slice-offsets
A reference into the middle of a string skipped that many characters, not bytes, so pseudo-C showed the wrong tail for wide strings and for text with multi-byte characters. The tail is now taken by byte offset (two bytes a unit for UTF-16LE), and a reference that lands inside a character is left as an address.
2026-11-18 05:55:29 +07:00
BFlat 72aef6762c Merge pull request #2045 from Plastic-time/bugfix/r3.11-disasm-versioned-import-arity
An imported function named with a symbol version (`memcpy@GLIBC_2.14`), a stub suffix (`@plt`) or a Darwin variant (`$UNIX2003`) was not found in the argument-count table, so pseudo-C dropped arguments set in earlier blocks. Those suffixes are now stripped before the lookup; stdcall `@bytes` names work as before.
2026-11-18 05:55:23 +07:00
BFlat b9b1e73359 Merge pull request #2044 from Plastic-time/bugfix/r2.2-yaml-mapping-key-boundaries
When setup edits another app's YAML config, a key written with a space before its colon (`mcp_servers :`) was not found, so a second block was appended, and a plain key that merely starts with the same text (`craft-anything:dev:`) was taken for ours. Keys are now matched across optional whitespace before the colon and need a real key boundary after it.
2026-11-18 05:55:16 +07:00
RRFZ 637ebd5875 Respect YAML mapping key boundaries in setup edits (R2.2) 2026-11-17 16:42:13 -05:00
RRFZ d1cee511e3 Keep GraphQL operations after braceless SDL definitions and descriptions (R3.12) 2026-11-17 16:40:34 -05:00
RRFZ 15f2ed0825 Redact form-encoded and mixed-case percent-escaped secrets in HAR views (R3.13) 2026-11-17 16:36:47 -05:00
RRFZ 3ef52a2f07 Read section source content and ignore lists when tracing indexed source maps (R3.13) 2026-11-17 16:36:47 -05:00
RRFZ 0dbb54fb49 Resolve indirect NS.bytes and integer NS.time in keyed archives (R3.12) 2026-11-17 16:36:46 -05:00
RRFZ 2815c3d8fa Bound SquashFS inode and directory tables across all superblock layouts (R3.12) 2026-11-17 16:36:46 -05:00
RRFZ ea626f3fd7 Treat C# verbatim @identifiers as names instead of keywords (R3.12) 2026-11-17 16:36:46 -05:00
RRFZ 51e94ed831 Decode integer-typed booleans and unnamespaced manifest package in AXML (R3.12) 2026-11-17 16:36:45 -05:00
RRFZ b080cfd7b6 Slice UTF-8 and UTF-16LE string literals by byte offset in lifter (R3.11) 2026-11-17 16:36:45 -05:00
RRFZ ac26c8621c Resolve versioned and stubbed import arity in disassembler (R3.11) 2026-11-17 16:36:45 -05:00
RRFZ 72a05d6ad3 Claim R3.13: har-secret-encodings 2026-11-17 15:31:41 -05:00
RRFZ 13850b50d4 Claim R3.13: indexed-sourcemap-trace-context 2026-11-17 15:31:40 -05:00
RRFZ 5869d8a524 Claim R3.12: keyed-archive-nsbytes-nsdate 2026-11-17 15:31:40 -05:00
RRFZ 0b03c1f7cc Claim R3.12: squashfs-table-bounds 2026-11-17 15:31:40 -05:00