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

Support Artifact Watcher Function Argument Names #46

Open
Flipout50 opened this issue Apr 3, 2024 · 0 comments
Open

Support Artifact Watcher Function Argument Names #46

Flipout50 opened this issue Apr 3, 2024 · 0 comments
Labels
enhancement New feature or request ghidra

Comments

@Flipout50
Copy link
Collaborator

Flipout50 commented Apr 3, 2024

The code commented out below should work but it needs to be executed when the ProgramChangeRecord indicates a change to function argument names. Its current position isn't correct. Likely this is a subEventType of a function event, but the exact details need to be figured out so that this code can be called at the correct time.

# TODO: Fix argument name support
#changed_arg = FunctionArgument(None, newValue, None, None)
#header = FunctionHeader(None, None, args={None: changed_arg})
#self._interface.function_header_changed(header)
pass

As an additional note, on this line:

#header = FunctionHeader(None, None, args={None: changed_arg})

We can't use None as the key, it will require a real offset.

@Flipout50 Flipout50 added enhancement New feature or request ghidra labels Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ghidra
Projects
None yet
Development

No branches or pull requests

1 participant