Skip to content

Refactor memory region filtering parameters#200

Merged
panhania merged 1 commit intogoogle:masterfrom
CRefice:crefice/refactor-region-filter
Mar 12, 2026
Merged

Refactor memory region filtering parameters#200
panhania merged 1 commit intogoogle:masterfrom
CRefice:crefice/refactor-region-filter

Conversation

@CRefice
Copy link
Collaborator

@CRefice CRefice commented Mar 11, 2026

This PR refactors the filtering parameters and logic used to skip certain memory regions when scanning or dumping memory into a single struct, RegionFilter.
This has two main benefits:

  1. Reduced code duplication between dump_process_memory and scan_process_memory actions.
  2. Removes the need for most hacks used to prevent partial borrows, as now all fields of Args in those two actions are accessed independently.

This has two main benefits:
1. Reduced code duplication between memory actions
2. Obviates the need for hacks to prevent partial borrows.
@panhania panhania merged commit c77437e into google:master Mar 12, 2026
10 checks passed
@panhania panhania changed the title Refactor filtering parameters for memory actions. Refactor memory region filtering parameters Mar 16, 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.

3 participants