Commit Graph
1309 Commits
Author SHA1 Message Date
muraa-p 93a5057ff9 Record the Windows run of the watched-launch descendant tests (R5.2) (#1683)
The roadmap asked for #1030's parent/descendant and startup-timeout cleanup tests to be run on Windows. They passed five runs in a row on Windows 11, and no processes they started were left running afterwards; the line is ticked with what was checked.
2026-11-11 19:15:43 +07:00
Afloat 500a09a217 Apply source map root prefixes before interpreting source paths (R3.12) (#1680)
Source lookups and recovered source lists dropped sourceRoot when a source started with / or contained ://, giving the wrong original source. A non-empty root is now prefixed to every source before it is read as a URL, as ECMA-426 describes; an empty root still means no root, since generators commonly write "" for that.
2026-11-11 19:04:22 +07:00
Afloat b12816c2b3 Recover classic ext triple-indirect file blocks (R3.12) (#1666)
Files reaching the third level of classic block pointers (above about 64 MiB with 1 KiB blocks) were left unrecovered. The reader now follows the triple-indirect pointer, keeps the full logical span of sparse subtrees at every level, and still refuses files whose mapping blocks are unavailable.
2026-11-11 18:56:44 +07:00
Afloat 842a76a41a Tell nonfinite CIL constants apart in method fingerprints (R3.12) (#1673)
Method fingerprints wrote float constants as JSON numbers, which can't hold NaN or infinity, so methods differing only in such constants got the same fingerprint. Nonfinite constants are now written as their IEEE-754 bits, and single-precision NaNs keep their original operand bits, which widening to double could change.
2026-11-11 18:56:37 +07:00
Afloat aad1a6d62b Return the first XZ stream from SquashFS blocks (R3.12) (#1669)
SquashFS reads one XZ stream per block, but the block decoder refused a complete first stream whenever bytes followed its footer, so the file's data was lost. It now checks the stream the decoder consumed as a complete XZ stream on its own and returns it, ignoring what follows, and still never returns output from a stream that failed to decode.
2026-11-11 18:50:53 +07:00
Afloat 67ba23122d Keep sBPF symbol and relocation limits global across ELF tables (R3.12) (#1678)
The sBPF inspector capped symbols and relocations at 400,000 records, but reaching the cap only ended the current table, so each further SYMTAB/DYNSYM or REL/RELA table could add another record past it. It now stops visiting further tables of that kind once the cap is reached, keeping the earlier records and their order.
2026-11-11 18:50:45 +07:00
Afloat bf342840fb Report unavailable cramfs block-pointer tables as incomplete (R3.12) (#1681)
A cramfs file whose block-pointer table lay outside the available filesystem bytes was left without contents, but nothing said so, and the image still counted as completely recovered. Such a file now gives a warning and marks the image incomplete, keeping the file listed.
2026-11-11 18:48:37 +07:00
Justin John 6575225ddd Let an earlier run's waiting notes start the build's limits again, as a message does (R2.9) (#1672)
#1660 put notes an earlier run left back in the waiting queue, but a run with no message didn't reset the counts of unchanged turns and of checks that found no working build, so Continue on a build stopped by either limit stopped again before its builder read the notes. Taking such notes now resets both counts first, saving the check count on the project as it is on disk so a queued run doesn't undo what the run ahead of it saved; if they can't be saved, that's logged and the run starts anyway.
2026-11-11 18:44:13 +07:00
muraa-p cd9cceabe8 Test that a gzip stream named .txt and an empty .txt aren't read as text (R3.11) (#1677)
Target sniffing decides which tools are suggested. Two cases it already gets right had no test: a gzip stream named .txt stays Unknown, because the bytes decide the kind and not the name, and an empty .txt stays Unknown, because there is nothing to read.
2026-11-11 18:37:41 +07:00
Afloat 037ca0d047 Recover JFFS2 files from big-endian images (R3.12) (#1665)
Big-endian JFFS2 images were detected and then refused. The reader now takes the byte order from the first node's magic, after any erased space, and reads node, inode and directory integers in it, so the same tree and contents come out in either order; a node in the other byte order stops the scan with a warning.
2026-11-11 18:35:44 +07:00
Afloat f04d7456e0 Reject impossible JVM array allocation operands (R3.12) (#1675)
newarray accepted any element-type byte and multianewarray accepted zero dimensions, both of which the JVM refuses. The decoder now stops at a newarray whose type isn't one of the eight primitive array types or a multianewarray with zero dimensions, as for other invalid instructions.
2026-11-11 18:35:12 +07:00
Afloat f376711d9b Keep literal $null strings in keyed archives (R3.12) (#1674)
Any object that was the string "$null" was read as the archive's nil marker, so a real string with that text disappeared. Only the archive's first object, where the marker lives, is now read as nil; a "$null" string anywhere else stays a string.
2026-11-11 18:35:05 +07:00
Afloat 34774fd3b3 Report packet evidence only for valid capture and protocol fields (R3.12) (#1247)
DNS labels showed dots, backslashes and unprintable bytes as they came, so different wire names could look the same; they're now escaped (\. \\ \DDD). HTTP is reported only for a complete start line: a request with a known method, a target without control characters and an HTTP/1.x version, or a response with an HTTP/1.x version, a three-digit status and an optional reason phrase. The packet tools' warning about unreadable parts now says what may be missing.
2026-11-11 18:34:37 +07:00
Afloat ebc5a24d9f Recover ZIP64 end records shifted by prepended data (R3.12) (#1676)
In a ZIP64 archive with data in front of it, the locator's stored offset can miss the end record, and the classic fallback then counted the ZIP64 record and locator as prefix bytes and lost the central directory. Before falling back, the reader now looks for the record within 64 KiB before the locator, and takes it only when it is single-volume, agrees with the classic record and has a central directory right before it; a warning says it was recovered.
2026-11-11 18:33:38 +07:00
NetterSilver 7da4f0ed07 Stop oversized OID arcs wrapping in code-signature OIDs (#1662)
oid_text shifted each arc left by seven bits with checked_shl, which only fails for shift amounts of 64 or more, so an arc too big for 64 bits silently lost its high bits and showed as a different number. Arcs now build with checked multiplication and addition and stay at the largest value once they overflow.
2026-11-11 18:32:37 +07:00
Afloat d26ee55bc2 Recover ext4 files stored entirely inside their inode (R3.12) (#1667)
Small ext4 inline files had their contents read as block addresses, so they failed to recover or came out as zeros, and a filesystem with only the inline-data feature was labelled ext2. Regular inline files of up to 60 bytes are now read from the inode, within the usual byte budget; longer inline files and inline directories are still reported as not recovered.
2026-11-11 18:25:46 +07:00
Afloat 8d8e05c609 Keep unavailable ext4 extent mappings from fabricating file bytes (R3.12) (#1671)
After a bad extent header or an unreadable child block, the extent walker returned a partly filled map, and recovery showed the missing ranges as zeros. Extent nodes now have to be complete and consistent (magic, entry counts, child depths, non-empty extents), within a shared work budget, or the file is left unrecovered with a warning.
2026-11-11 18:24:03 +07:00
Afloat a9bb6df790 Recover LZ4-compressed SquashFS metadata and file data (R3.12) (#1668)
LZ4 SquashFS images were refused although the project has a bounded raw LZ4 decoder. SquashFS metadata, data blocks and tail fragments now decode with it, treating the size as an upper limit, while Unity bundles keep requiring the exact decoded size.
2026-11-11 18:23:14 +07:00
Afloat 0b35448ed5 Check every SquashFS data block against its share of the file (R3.12) (#1670)
Data blocks were concatenated whatever their length and the result trimmed at the end, so a short or corrupt first block could shift the bytes after it while the file looked complete. Each raw or decoded block, sparse blocks and the last partial block included, must now cover exactly its part of the file, or the file is left unrecovered with a warning.
2026-11-11 18:22:58 +07:00
Afloat a1581c0400 Keep warnings from every view in the .NET application graph (R3.12) (#1663)
The application graph is built from the assembly's inventory, members and native boundaries but only passed on the members' warnings, so a warning only the inventory or the native mappings raised (such as trailing bytes in an attribute's signature) disappeared from it. The graph now combines all three, keeps each view's first warning in view, and removes repeats before its 20-warning limit.
2026-11-11 18:20:41 +07:00
Afloat 8031499657 Keep version-two cramfs reads inside the filesystem's size (R3.12) (#1664)
Directory and file pointers in a version-two cramfs image could reach bytes appended after the filesystem, so unrelated trailing data could fill in recovered contents. The size recorded in a version-two header now bounds every read, in either byte order; an image shorter than that size is read as far as it goes and marked incomplete, and version-one images are read as before.
2026-11-11 18:18:40 +07:00
NetterSilver 0f283add5d Stop JavaScript operators splitting before a non-ASCII identifier (#1661)
The tokenizer matched punctuators against a four-byte string window, which came out empty when it ended inside a multi-byte character, so a===日本 split the operator. It now matches on the bytes from that point, so ===, >>, => and !== stay whole before any character.
2026-11-11 18:10:28 +07:00
Afloat 28198b6986 Keep special inode kinds when reading ext filesystems (R3.12) (#1634)
Any ext inode that wasn't a directory or symlink was read as a regular file, so device, socket and FIFO fields could be taken as block pointers. The inode's mode now decides its kind: special and unknown inodes are listed as other entries without reading their fields as data, and a directory entry's type hint can't override the inode.
2026-11-11 18:10:21 +07:00
Afloat 4a078510d4 Read PKCS#7 certificates only from SignedData's certificate field (R3.12) (#1132)
The certificate reader took any [0] field inside SignedData, kept non-X.509 certificate choices, and applied the certificate limit per field. It now reads the certificates field only in its declared place after the version, digest algorithms and content, returns only X.509 (SEQUENCE) choices, and applies the limit once.
2026-11-11 18:10:15 +07:00
Justin John cb2571bf50 Keep a note left by an earlier run waiting until the builder takes it (R2.9) (#1660)
#1644 sent an earlier run's waiting notes as the new run's message and deleted their files, so a run that stopped during setup lost them, and a note file that couldn't be read was dropped silently. Such notes now become the new run's own waiting notes, kept on disk until the builder takes them or handed to the next run like any note; a notes folder that can't be read is moved aside instead of deleted.
2026-11-11 18:03:32 +07:00
Afloat 35a5a1446d Check the ZIP64 end record's extent against its locator (R3.12) (#1137)
The ZIP64 end record's declared size wasn't checked. A record smaller than its fixed fields, an extent that overflows, or fixed fields that run into the locator now make the archive corrupt; a declared extent that doesn't end at the locator, or a locator that doesn't point to a record (as in archives with a stub in front), keeps reading the directory with a warning, as before.
2026-11-11 18:02:25 +07:00
NetterSilver 9804798f1c Keep signed exponents inside JavaScript number tokens (#1658)
The tokenizer split 1e+5 and 2.5E-3 into three tokens, because a number ended at the sign. A + or - right after e or E, followed by a digit, now stays in the number, except in hex, binary and octal literals, where 0x1e+5 is still 0x1e, +, 5.
2026-11-11 17:53:43 +07:00
Afloat 3876d7fbb2 Recognise UTF-16 keyed-archive NIB files (R3.12) (#1657)
The XML plist reader already decodes UTF-16 after either byte-order mark, but the check that decides a file is a plist only looked for ASCII <plist, so UTF-16 NIB archives were turned away first. The check now also finds the UTF-16LE and UTF-16BE marker after its byte-order mark, on code-unit boundaries, within the same 1 KiB probe.
2026-11-11 17:50:03 +07:00
Afloat 65fad01a0d Require complete Android resource entry payloads (R3.12) (#1654)
A type chunk whose entry data started inside its offset table or past the chunk was still read, and a bag entry with a short header, or more values than fit in the chunk, read past its data. The type is now skipped with a warning in the first case; in the second the entry is kept without its parent and values, the table is marked truncated, and a warning says why. A bag with more values than the reader keeps is marked truncated too.
2026-11-11 17:49:57 +07:00
Afloat 88993fabc1 Keep fractional seconds in property-list dates (R3.12) (#1656)
Binary plist dates and keyed-archive NSDate values were shown floored to whole seconds, so events within one second looked the same. They now keep their fraction, rounded to microseconds (finer would only show the float's noise for present-day dates), with a rounded-up second carried into the date; whole seconds still show without a fraction.
2026-11-11 17:34:46 +07:00
Afloat 49af55e4e4 Don't recover JFFS2 files from data nodes that didn't decode (R3.12) (#1636)
A data node that failed to inflate, used an unsupported compression or decoded to a length other than its declared size was skipped, leaving zeros or older bytes in the file while it looked recovered, and an overlong raw node could overwrite the next extent. Such nodes now mark their extent damaged; a newer valid node can still replace it, and a file is left unrecovered only if a damaged extent survives into its final contents.
2026-11-11 17:34:05 +07:00
Afloat fdf958e443 Note non-minimal DER lengths in signatures and certificates (R3.12) (#1646)
The DER reader accepted redundant length encodings (a long form under 128, or a leading zero length byte) without saying so. Each element now records whether its length is minimal; certificate, CMS, Authenticode and certificate-chain views keep everything they read and add one note that an element is not strict DER, and signatures over those bytes are checked as before.
2026-11-11 17:26:06 +07:00
Afloat c68090d182 Keep certificate name values distinct when they aren't plain text (R3.12) (#1652)
Lossy decoding turned different malformed name values into the same replacement characters, and UniversalString values weren't decoded. Name values are now decoded by their string type (UTF-8; Printable, IA5, Visible and Numeric as ASCII; T61 as Latin-1; BMP and UniversalString as UTF-16 and UTF-32), and a value that is malformed or of another type is shown as its hex DER encoding.
2026-11-11 17:23:23 +07:00
Afloat e9e78485cb Report trailing bytes after .NET signatures instead of ignoring them (R3.12) (#1632)
Signature readers returned the decoded signature and silently accepted bytes after it. Complete method, field, local, TypeSpec and instantiation signatures now note when their blob carries extra bytes: the decoded types are kept, as the runtime uses them, and the inventory, member and native-boundary views say once that some signatures have trailing data that wasn't interpreted.
2026-11-11 17:23:14 +07:00
Matavanary Studio a719d8dc80 Add a Thai README (#1643)
README.th.md is a Thai translation of README.md, and every README's language switcher links to it.
2026-11-11 17:13:44 +07:00
Afloat e755c874e6 Don't open a different Godot project when its path isn't valid UTF-8 (R2.7) (#1649)
Godot reads --path as UTF-8, and the path was passed through a lossy conversion, so a project folder whose name isn't valid UTF-8 could open a different project with a similar name. Such a project now isn't launched instead.
2026-11-11 17:10:48 +07:00
Afloat 97983e5f3d Keep Android device configuration qualifiers distinct (R3.12) (#1653)
Resource configurations that differed only in grammatical gender, round screens, wide colour gamut, HDR, or keyboard and navigation visibility got the same qualifier string, and MNC 00 was shown as 65535. Those qualifiers are now named as Android names them.
2026-11-11 17:10:43 +07:00
Afloat 341dd7def5 Require matching operands before reporting EVM dispatch facts (R3.12) (#1651)
The contract dispatcher patterns accepted instructions a few positions apart, so unrelated code could be read as selector extraction, a Vyper selector comparison or a short-calldata check. Each pattern now needs its exact instruction sequence and operands, and a dispatch to something that isn't a JUMPDEST reports its mutability as unknown.
2026-11-11 17:10:38 +07:00
Afloat 025ba55e84 Recognise macOS and VFAT ZIP entry attributes (R3.12) (#1650)
ZIP entries made on macOS (host 19) now keep their Unix mode, so their directories and symlinks are recognised, and VFAT entries (host 14) are recognised as directories by their DOS attribute, as MS-DOS and NTFS entries already were.
2026-11-11 17:10:31 +07:00
Afloat c5e524dd08 Trace JVM bootstrap dependencies at their bytecode use sites (R3.12) (#1648)
Searches for where a class is used missed lambdas, method handles, method types, class literals and dynamic constants. ldc and invokedynamic now link through the class's BootstrapMethods table to the method handle and static arguments they use, reported at the instruction that loads or calls them, within a shared work limit.
2026-11-11 17:09:41 +07:00
Afloat 901f99f846 Decode DNS service binding, naming and authentication records (R3.12) (#1647)
SVCB and HTTPS answers (priority, target, ALPN, port and address hints; unknown keys kept as hex), NAPTR, DNAME, SSHFP, TLSA and URI records now show their values instead of a byte count. A record that doesn't decode marks its message incomplete, keeping the answers before it, as other records do.
2026-11-11 17:07:33 +07:00
Afloat f8ef412721 Require bound-import names to end inside the PE directory (R3.12) (#1645)
A bound import's module or forwarder name was read up to 256 bytes from its offset, even past the end of the directory. A name now has to end inside the directory, or it's reported as outside it, as the other bound-import checks are.
2026-11-11 17:07:27 +07:00
Justin John 726fba1368 Send a note left waiting when the app closed, instead of deleting it (R2.9) (#1644)
A note sent during a build waits in the inbox for the builder's next step; if the app closed before the builder took it, the next run deleted it as it started (#1620). The note's file now also keeps the person's own words, how the feed shows them and the pictures, and a run started without a message sends what an earlier run left waiting, oldest first, before the folder is cleared, as the app already does with notes a finished run didn't get to.
2026-11-11 17:01:52 +07:00
NetterSilver a0f249f6ab Reject a '+' sign in Go quoted-string hex escapes (#1642)
unquote_prefix read the digits of \x, \u and \U escapes with from_str_radix, which accepts a leading '+', so a malformed escape like \x+a was read as a newline. The digits must now all be hex, so such a string doesn't parse; a test covers all three escapes.
2026-11-11 16:53:51 +07:00
Afloat cbd7ebfb40 Decode concatenated XZ streams and standard stream padding (R3.12) (#1383)
The XZ decoder expected the file to end right after one stream's footer, so valid .xz files with several streams or the standard four-byte padding were refused. It now finds each stream's bounds from the end, through its checksummed footer and index, and decodes them in order under one output budget; index integers, declared sizes and padding alignment are checked, and every read of the input is bounds-checked. SquashFS blocks keep the single-stream decoder, as before.
2026-11-11 16:43:16 +07:00
Afloat 31f19ceef3 Decode Unreal packed 10:10:10:2 and 11:11:10 float textures (R3.9) (#1640)
PF_A2B10G10R10 and PF_FloatR11G11B10 textures couldn't be exported. The shared pixel decoder now reads both: 10-bit red, green and blue with two-bit alpha, and unsigned 11/11/10-bit floats shown as sRGB like the other float formats.
2026-11-11 16:31:40 +07:00
Afloat 4f74a23bcd Decode Unity EAC channel textures (R3.9) (#1638)
Unity's EAC_R, EAC_R_SIGNED, EAC_RG and EAC_RG_SIGNED textures were recognised but couldn't be exported. The shared pixel decoder now reads EAC's 11-bit channel blocks (modifier tables, column-major selectors and the zero-multiplier rule), showing one channel as grey and two as red and green, with signed values mapped so zero is mid-grey.
2026-11-11 16:31:33 +07:00
Afloat d1eb619005 Keep CLI array ranks and declared bounds in .NET type names (R3.12) (#1631)
A rank-one general ARRAY signature was shown like a vector (int[]), and declared sizes and signed lower bounds were dropped, so different managed types looked the same. Type names now keep the general-array form (int[*] at rank one), each dimension, and explicit bounds (int[0...2], int[-1...]), in method, field, local, generic and nested-array names.
2026-11-11 16:28:14 +07:00
Afloat 839b05a764 Reject duplicate GGUF metadata keys and tensor names (R3.12) (#1635)
A repeated metadata key could overwrite the reported model identity, and a repeated tensor name could inflate the parameter total; display truncation and retention caps could hide the repeat. The reader now tracks complete keys and tensor names and reports a file that repeats one as malformed, as the format's own loader does.
2026-11-11 16:27:25 +07:00
Afloat b63e1f9aae Recover cramfs files with direct block pointers (R3.12) (#1637)
The cramfs reader gave up on any file with a direct block pointer. It now follows them: the shifted start address, uncompressed blocks of the expected size, and compressed blocks prefixed by their two-byte length, in both byte orders, with ordinary blocks after a direct one starting where it ended. Bounds and output limits are as before.
2026-11-11 16:27:22 +07:00