Skip to content

Conversation

@maumaubebe
Copy link

@maumaubebe maumaubebe commented Oct 11, 2025

Description

What patch does: If not required parameters is passed in search-pattern it will return the usage information. search-pattern PATTERN [little|big] [section]

Previously the options are slightly confusing with two optional arguments and no sanitize checks for big|endian
For example
search-pattern 0x41414141 heap would be evalutated to search-pattern 0x41414141 little

Checklist

  • My code follows the code style of this project.
  • My change includes a change to the documentation, if required.
  • If my change adds new code, adequate tests have been added.
  • I have read and agree to the CONTRIBUTING document.

@github-actions
Copy link

🤖 Coverage update for 6c16e35 🔴

Old New
Commit ee605f9 6c16e35
Score 71.0775% 71.0582% (-0.0193)

@Grazfather
Copy link
Collaborator

Can you try to use the parse_arguments decorator?

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