Replies: 1 comment
|
duplicate |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have a decompilation result, where I get a variable (puVar12) with a stack address:
puVar12 = &stack0xffffff60; lVar19 = __div64(CONCAT44((iVar6 - (int)((ulonglong)lVar19 >> 0x20)) - (uint)(uVar13 < (uint)lVar19),uVar13 - (uint)lVar19),1000000);The signature of function locks good
Why do Ghiidra add this extra variable?
An other strange thing is the 'CONCAT44 and >> 0x20' which is not related to any assembler code. It seems Ghidra tries to handle a compiler specific data type. lVar19 contains a hrtime_t value.
Where it is come from?
It is a Sun Studio Compiled code for Solaris.
In the C code listing all functions are mared with "Unknown calling convention". It is possible to assign there "__cdecl" for all functions globally?
Many Thanks!
All reactions