Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor byte extraction to align with capa rules specifications #10

Merged
merged 3 commits into from
Feb 28, 2024

Conversation

jorgeaduran
Copy link
Contributor

@jorgeaduran jorgeaduran commented Feb 28, 2024

This PR refactors the extract_insn_bytes_features method, extending the byte read limit to 0x100 to comply with the updated byte sequence matching rules defined in the capa rules documentation (see capa rules Bytes). Additionally, a minor refactor on the check_contains_opcode function for improved clarity.

@marirs marirs merged commit f3822ec into marirs:master Feb 28, 2024
4 checks passed
@marirs
Copy link
Owner

marirs commented Feb 28, 2024

Thanks again :)

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