Skip to content

Remove RelativeVirtualAddress (#3072) - #3219

Open
corkamig wants to merge 1 commit into
mandiant:masterfrom
corkamig:rva_removal
Open

corkamig wants to merge 1 commit into
mandiant:masterfrom
corkamig:rva_removal

Conversation

@corkamig

@corkamig corkamig commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Removes RelativeVirtualAddress and AddressType.RELATIVE following the deprecation added in #3090 (# TODO(corkamig): Removal for v10).

Changes

  • capa/features/address.py: Remove RelativeVirtualAddress and unused warnings import.
  • capa/features/freeze/__init__.py: Remove AddressType.RELATIVE and its from_capa / to_capa conversions.
  • capa/render/verbose.py: Remove AddressType.RELATIVE formatting branch.
  • capa/render/proto/__init__.py & capa/render/proto/capa.proto: Remove AddressType.RELATIVE conversions and mark ADDRESSTYPE_RELATIVE = 2 [deprecated = true]; in capa.proto to preserve protobuf wire compatibility.
  • capa/features/extractors/base_extractor.py: Remove obsolete docstring reference to RelativeVirtualAddresses.
  • tests/: Remove deprecated RelativeVirtualAddress test cases from test_engine.py, test_proto.py (which previously emitted an uncaught DeprecationWarning), and test_match_fixtures.py.
  • CHANGELOG.md: Record removal under Breaking Changes.

closes #3072

Checklist

  • No CHANGELOG update needed
  • No new tests needed
  • No documentation update needed
  • This submission includes AI-generated code and I have provided details in the description.

Remove RelativeVirtualAddress and AddressType.RELATIVE following the
deprecation in PR mandiant#3090 targeted for removal in v10.

Mark ADDRESSTYPE_RELATIVE = 2 as [deprecated = true] in capa.proto to
preserve protobuf wire compatibility.

Closes mandiant#3072

This branch has not been deployed

No deployments
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.

consider removing RelativeVirtualAddress

1 participant