Skip to content

Only act on local cache symbols under the symbol basepaths#1927

Merged
ikelos merged 2 commits intodevelopfrom
issues/issue1255-2
Mar 9, 2026
Merged

Only act on local cache symbols under the symbol basepaths#1927
ikelos merged 2 commits intodevelopfrom
issues/issue1255-2

Conversation

@ikelos
Copy link
Member

@ikelos ikelos commented Jan 4, 2026

Fixes #1255

@ikelos
Copy link
Member Author

ikelos commented Jan 4, 2026

Supercedes #1751

@ikelos ikelos marked this pull request as draft January 8, 2026 19:56
if local_filepath and local_filepath.startswith(
tuple(constants.SYMBOL_BASEPATHS)
):
yield row["location"]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs an else with a debug message saying it was found but outside the appropriate path.

@ikelos ikelos requested a review from npetroni January 8, 2026 19:59
@ikelos ikelos marked this pull request as ready for review January 8, 2026 19:59
@ikelos ikelos merged commit 927a462 into develop Mar 9, 2026
26 checks passed
@ikelos ikelos deleted the issues/issue1255-2 branch March 9, 2026 19:50
@ikelos
Copy link
Member Author

ikelos commented Mar 10, 2026

This is problematic because some local JSON files (such as those under the volatility directory) want to be loaded even though they're not under the symbol directories...

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.

Cache Update Issues

1 participant