Weird use of '...' in function argument #7477
Replies: 3 comments 4 replies
-
|
That is how varargs (variable arguments) work. You even have it enabled in your first picture. When you hit TAB, you disable it. |
Beta Was this translation helpful? Give feedback.
-
|
Ok I see, so it's just the printing that threw me off with If I made a change to Ghidra to print it properly, would the Ghidra devs be interested? |
Beta Was this translation helpful? Give feedback.
-
|
You need to uncheck varargs, set the parameter type (e.g. to int), check varargs and then it will be displayed properly: |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
When decompiling a program, I have found many functions that have the following signature.
However, when I inspect the signature of the function I see this:
As soon as I press TAB it changes to
void:And now the function arguments is just
void(as I would expect).Is this expected behaviour? What does
void...even mean? Is it justvoid? If it isvoidwhy have the...extra and not justvoid?I am using Ghidra I compiled myself based on commit
79de6c6bf938b9c85c0cb6ce38043ea0f5819b6c79de6c6bf938b9c85c0cb6ce38043ea0f5819b6cBeta Was this translation helpful? Give feedback.
All reactions