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

gdt apply all function signature data types issue #4010

Open
jmpews opened this issue Feb 21, 2022 · 1 comment
Open

gdt apply all function signature data types issue #4010

jmpews opened this issue Feb 21, 2022 · 1 comment

Comments

@jmpews
Copy link

jmpews commented Feb 21, 2022

i had capture gdt from dwarf binary <A>.

<A> has a static c function with signature void init(int arg0, int arg1, int arg2, ing arg3)

<B> has a c++ function with signature XX::init(), so there is a symbol with name as init and namespace with XX

when click the gdt that capture with <A>, and all function signature data types to <B>, <B>'s c++ function XX::init signature was overwritten.

@ghidra1
Copy link
Collaborator

ghidra1 commented Mar 2, 2022

What was the signature source-type for function <B> prior to it getting applied? A function with a default signature source-type is generally allowed to be overwritten. We still have no-formal way of defining namespaces within an archive. It is unclear if we should limit this action to the global namespace. Hopefully @emteere can add his opinion.

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