ghidra icon indicating copy to clipboard operation
ghidra copied to clipboard

Inplace assignment doesn't work in this specific case

Open H-A-M-G-E-R opened this issue 1 year ago • 3 comments

Even with the "Use inplace assignment operators" option enabled: image

H-A-M-G-E-R avatar Dec 14 '24 05:12 H-A-M-G-E-R

0.01% of the time it works everytime

There is an open pull request somewhere that improves it, however I found that it still didn't always work, usually with indirect reads/writes.

astrelsky avatar Dec 14 '24 21:12 astrelsky

I couldn't find a PR, but here is the issue with patch that you mentioned: https://github.com/NationalSecurityAgency/ghidra/issues/5601

Looks like the author has several more pending PRs that (hopefully) improve decompilation too: https://github.com/NationalSecurityAgency/ghidra/pulls?q=author%3Alukeserne

msm-code avatar Dec 16 '24 16:12 msm-code

I couldn't find a PR, but here is the issue with patch that you mentioned: https://github.com/NationalSecurityAgency/ghidra/issues/5601

Looks like the author has several more pending PRs that (hopefully) improve decompilation too: https://github.com/NationalSecurityAgency/ghidra/pulls?q=author%3Alukeserne

Ah yes that is what I was referring to ty

astrelsky avatar Dec 16 '24 17:12 astrelsky