Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_VERBOSEand reading the console, which the ledgerof 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.