Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.

Conversation

ilektragiassa
Copy link

Magic bytes as variable so that it is usable for other OS/file formats

Magic bytes as variable so that it is usable for other OS/file formats
@ilektragiassa ilektragiassa requested a review from a team as a code owner October 3, 2023 07:46
Copy link
Collaborator

@jamienutter jamienutter left a comment

Choose a reason for hiding this comment

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

Add the default to the doc string for clarity

:param minlen_upper: The minimum number of assembly functions needed for disassembling
:param minlen_lower: If disassembling not possible with with minlen_upper, lower the minimum number
of assembly functions to minlen_lower
:param magic_bytes for the specific OS/type of binary
Copy link
Collaborator

Choose a reason for hiding this comment

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

What is the default and to which OS does it link?

Copy link
Author

Choose a reason for hiding this comment

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

The default values correspond to MacOS - added a list of valid magic bytes

If none, then use the magic bytes for MacOS
@ilektragiassa ilektragiassa merged commit 249db63 into master Oct 3, 2023
@ilektragiassa ilektragiassa deleted the AEGIS-6405-trivial-fix branch October 3, 2023 11:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants