Skip to content

add donor analysis and initialization sessions#79

Closed
NetVar1337 wants to merge 2 commits into
sercanarga:mainfrom
NetVar1337:add-donor-analysis-report
Closed

add donor analysis and initialization sessions#79
NetVar1337 wants to merge 2 commits into
sercanarga:mainfrom
NetVar1337:add-donor-analysis-report

Conversation

@NetVar1337

@NetVar1337 NetVar1337 commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

summary

  • report donor identity, capabilities, BAR layout, generated write masks, and validation issues
  • reject malformed capability chains, invalid 64-bit BAR5 layouts, and out-of-bounds MSI-X placement
  • capture checksummed initialization sessions with config, PCI resources, interrupt snapshots, and width-aware MMIO traces
  • support guarded trace, driver unbind/bind, and interface down/up capture scenarios with restoration paths
  • compare repeated sessions into phases, register evidence, polling loops, write effects, dependencies, config transitions, confidence, and MAC candidates

affected modules

  • cmd/pcileechgen
  • internal/donor/session
  • internal/donor/mmio
  • internal/pci
  • internal/firmware/codegen

tests

  • go test ./...
  • go test -race ./...
  • changed-package golangci-lint passes
  • offline multi-session text and JSON smoke tests

make check still reports pre-existing lint findings in untouched internal/firmware/scrub, internal/firmware/output, and existing output tests; changed packages are clean.

@NetVar1337 NetVar1337 changed the title add donor analysis and MMIO trace comparison add donor analysis and initialization sessions Jul 11, 2026
@sercanarga

Copy link
Copy Markdown
Owner

this pr has been closed bec. #79 continued

@sercanarga sercanarga closed this Jul 11, 2026
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.

2 participants