Describe the bug
In the decompilation results, the parameter identification for the call statement printf is incorrect. The third parameter "1" is an unexpected parameter, and no corresponding statement can be found in the assembly code.
To Reproduce
Steps to reproduce the behavior:
Go to '...'
Click on '....'
Scroll down to '....'
See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Attachments
There are the binary and source files.
Ghidra-35.zip
Environment (please complete the following information):
OS: Ubuntu22.04
Java Version: 17.0
Ghidra Version: 10.3
Ghidra Origin: official GitHub distro
Additional context
The binary is compiled with Clang 14.0 -O0 -fno-inline-functions
Describe the bug In the decompilation results, the parameter identification for the call statement printf is incorrect. The third parameter "1" is an unexpected parameter, and no corresponding statement can be found in the assembly code.
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots
Attachments There are the binary and source files. Ghidra-35.zip
Environment (please complete the following information):
Additional context The binary is compiled with Clang 14.0 -O0 -fno-inline-functions