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

Feature Request: binary specific patterns.xml #4421

Open
sad-dev opened this issue Jul 7, 2022 · 1 comment
Open

Feature Request: binary specific patterns.xml #4421

sad-dev opened this issue Jul 7, 2022 · 1 comment

Comments

@sad-dev
Copy link
Contributor

sad-dev commented Jul 7, 2022

Is your feature request related to a problem? Please describe.
Ghidra uses pattern files e.g. Ghidra/Processors/x86/data/patterns/x86gcc_patterns.xml to aid autoanalysis - in particular, when searching for functions and code.

Some binaries will have different patterns (typically due to the use of an unusual compiler). It is undesirable to replace/modify the (usually sensible) default pattern file directly, as all other binaries on the same architecture will use it.

Describe the solution you'd like
An easy way to edit the pattern file in use for a given binary. One way this could work is to make a copy of the default xml (and maybe even the SLEIGH files?) into the workspace folder, together with an easy way from the UI/API to find these files.

@astrelsky
Copy link
Contributor

This is a good idea. In my opinion I think adding this to the program specific (specification maybe) extensions menu would be the way to go.

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

No branches or pull requests

2 participants