Registry Mirror
Skip to content

Conversation

@siegfriedpammer

Copy link
Copy Markdown
Member

A sweep covers thousands of packages, and a finding was keyed on the assembly's
file name alone. The same simple name ships in many packages and in several TFM
folders of a single package, so a finding could not be traced back to the
assembly that produced it, and the references it was decompiled against - the
whole question whenever a warning turns out to be a reference problem rather
than a defect - were not recorded at all. Making that judgement meant rerunning
the package under NUGETFUZZ_VERBOSE and reading the console, which the ledger
of a catalog sweep cannot offer.

Findings are now identified by full assembly name plus path, and each one
carries the search directories in priority order and what every reference
resolved to. The reference set is captured once the assembly is finished rather
than when a finding is first hit, because the resolver keeps discovering
references for as long as it decompiles.

Ledger lines written before this field existed deserialize with it empty and
render as they did.

Verified end to end over a four-package sweep: 666 findings, each carrying its
context, rendering in the HTML report.


This pull request was prepared by an AI agent (Claude Opus 5 via Claude Code)
on behalf of the repository owner.

A sweep covers thousands of packages, and the same simple assembly name
ships in many of them and in several TFM folders of a single package, so
a finding keyed on the file name alone cannot be traced back to the
assembly it came from.

Assisted-by: Claude:claude-opus-5:Claude Code
A finding named the package, the assembly's file name and the type, which is
not enough to reproduce it: the assembly lives in a version-specific cache
directory, and the references it was decompiled against are the whole question
whenever a warning turns out to be a reference problem rather than a defect.
That judgement had to be made by rerunning the package under NUGETFUZZ_VERBOSE
and reading the console, which the ledger of a catalog sweep cannot offer at
all.

The reference set is captured once the assembly is finished rather than when a
finding is first hit. The resolver keeps discovering references for as long as
it decompiles, so a finding from the first type would otherwise record a set
that is mostly still empty.

Ledger lines written before this field existed deserialize with it empty and
render as they did.

Assisted-by: Claude:claude-opus-5:Claude Code
A finding is recorded before the reference context exists, because the resolver
keeps discovering references until the assembly is done. An assembly that fails
in the type system returns without ever reporting its resolutions, so its keys
stayed pending and the next assembly stamped its own reference set onto them.
Naming the wrong references is worse than naming none, in a report that is read
precisely to tell a reference problem from a decompiler defect.

Assisted-by: Claude:claude-opus-5:Claude Code
@siegfriedpammer
siegfriedpammer merged commit e58641b into master Sep 12, 2026
17 checks passed
@siegfriedpammer
siegfriedpammer deleted the tools/nugetfuzz-finding-identity branch September 12, 2026 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant