Microsoft lib.exe archives, including import libraries, use the ar
signature and keep long member names in the "//" table, but as
NUL-terminated strings rather than GNU's "/\n"-terminated entries.
The name table rejected every such reference, so members with names
longer than 15 characters were dropped from the inventory and
counted as undecodable, with unknown coverage.
The name table now decides its convention once from its final byte:
a table ending in NUL resolves entries that start at offset 0 or
after a NUL and end at the next NUL. GNU tables keep their existing
"/\n" rule, and the ar reader and Debian parser share the change.
Fixes#15452
Co-authored-by: Anurag Singh <211784907+Anurag-5ingh@users.noreply.github.com>
* docs(contributing): select each repository's .nvmrc for Husky hooks
~/.config/husky/init.sh runs before hooks in every repository that uses
Husky, so the fixed Node.js 24 path shown earlier would force that
version on other projects. The example now reads the hook repository's
.nvmrc and uses that nvm install when present; repositories without an
installed .nvmrc version keep the default Node.js.
* docs(contributing): resolve .nvmrc through nvm in the Husky hook example
The example built an install path from the raw .nvmrc text, so major
versions such as 22 and aliases such as lts/* never matched nvm's
full-version directories and hooks kept the default Node.js. The
example now sources nvm.sh without switching versions and runs
nvm use, which resolves every .nvmrc form and leaves the default in
place when the version is not installed.
* fix(adb): refuse device directories before pulling
adb pull copies a directory tree with no byte limit. pull_adb_file accepted
a directory device_path (for example /sdcard), and pull_adb_package accepted
a pm path line naming a directory; adb then pulled the whole tree under the
600 s timeout, the tool reported that the result could not be read back, and
the tree stayed on disk unrecorded.
Both pulls now run the existing test -d probe that push already uses.
pull_adb_file refuses a directory as invalid_request on device_path and
names list_adb_directory; pull_adb_package refuses a pm path directory with
reason directory_device_path before creating output. A probe that cannot
establish the answer fails the call rather than pulling.
Refs #15326
* fix(adb): keep the pm path answer when a directory probe fails
A failed directory probe now retains the completed pm path paths and the
entry being checked as a partial observation, and the pull_adb_file
directory refusal escapes the device path for display.
Several limit refusals wrote their own "raise X up to MAX" text, which
replaced the shared adjustable-budget recovery and advised a value that
cannot admit the input when the measured requirement is above the
control's maximum. Following #15407 (VSIX and pyc), these producers now
report a typed limit with the measured requirement and no prose:
- NuGet parse budgets, as VSIX already does.
- The selected-file size budget of NuGet, VSIX, Maven/Gradle metadata,
ESP NVS, release exposure and NTFS journal reads. The reader's
observed file size becomes required_value through the new
selectedFileRequirement helper.
- IL2CPP's native pointer index budget.
inspect_packet_capture's DNS limitation no longer says to raise
dns_identity_limit's control when it is already at its maximum or the
requirement is above it. The unused imageFileSizeRemediation is removed.
Refs #15325
nvm use changes Node.js only in the terminal it runs in. Hooks started
from an IDE, a Git client or an agent use the default Node.js on PATH,
and the pre-push checks fail when that version is outside the engines
range. Point contributors in that situation to ~/.config/husky/init.sh,
which Husky reads before every hook.
extract_uefi_firmware with an exhausted output budget reported one generic
size-truncated gap per withheld payload (2995 with max_output_files 5),
empty limitations for a whole-image target, and nothing naming the limit.
Each budget gap now starts with the parameter and value that stopped it
(max_output_files or max_output_bytes), and the first limitation states how
many payloads and bytes the budget withheld, which parameter stopped them,
its maximum and how to continue. Depth-limited gaps name max_depth. A target
offset that maps nothing names inspect_uefi_firmware as the way to find valid
offsets.
Refs #15343