idatips (@idatips) header
idatips (@idatips) profile picture

Tips and tricks for everyone's favorite disassembler. Account not run by Hex-Rays.

Joined September 2018
Photo by idatips (@idatips)Photo by idatips (@idatips)Photo by idatips (@idatips)Photo by idatips (@idatips)Photo by idatips (@idatips)Photo by idatips (@idatips)Photo by idatips (@idatips)Photo by idatips (@idatips)Photo by idatips (@idatips)Photo by idatips (@idatips)
I finally found a good use for Hex-Rays "Decompile as call", albeit a pretty niche one.
5
41
261
Did you try Shift-Alt-Up/Down? While not exactly the same, these hotkeys search for the closest def/use of the highlighted register. Exists since IDA 7.5, after our conversation :)
1
6
44
Is the Hex-Rays microcode API powerful? Yes. But the real magic is how receptive the core analysis of the decompiler is to our own extensions. The results are stunning. 7 Days to Lift: A Mission in Microcode: blog.ret2.io/2020/07/22/ida-…
1
104
3
319
idatips retweeted
I'm happy to announce the first public release of IDACode! Execute and debug all your IDA scripts from VS Code :) You can find the extension on the VS Code marketplace and the IDA plugin in the repository along with some information: github.com/ioncodes/idacode
13
250
6
668
In case Hex-Rays output seems way too partial, try annotating one the variables with the 'volatile' keyword, then decompile again. Chances are the decompiler went overly aggressive and eliminated the memory reference altogether 🙃 See hex-rays.com/products/decomp… for the full details
4
15
49
idatips retweeted
-Reversing Tip 28/30- IDA auto-analysis missed a function arg because it was passed in an “unexpected” register? Use the “__usercall” call convention with “@<register_name>” to declare args & their location: #BinReversingTips #idaTips
31
1
106
idatips retweeted
-Reversing Tip 25/30- Get the best from both IDA’s decompiler & disassembler by overlaying the C code on the ASM in graph view (by clicking the “/” key) #BinReversingTips
2
86
3
393
idatips retweeted
IDA pro tip: For custom calling convention, many people know __usercall (args / retval). But did you know __spoils for preserved and volatile registers? hex-rays.com/products/ida/su…
1
49
4
198
idatips retweeted
#idatips Ever get a pointer to the middle of a struct? Just add the __shifted keyword to the variable's type definition!
2
32
3
163
#idatips how to disable arm macro instruction? Options>General…>Analysis>Kernel option3>Enable macro, uncheck it.
6
23
idatips retweeted
New IDA 7.4 and Decompilers released! Changelog: - IdaPython move to Python 3 - New Local Types editor - Improved GDB support (iOS 13) - Multiple improvements in decompiler engine - Global xrefs directly in pseudocode hex-rays.com/products/ida/7.… hex-rays.com/products/decomp… #REhints
33
49
Remember that you can trigger actions in IDA's UI using idaapi.process_ui_action(action_name) (get the name from the shortcuts window) hexblog.com/?p=921 #idapython #idatips @idatips
4
26
If the DWARF plugin doesn't support type extraction, you can work around by opening the main executable with the DWARF info, then copy the .TIL file and run it through TILIB with the "-#-" option to get a .TIL that can be loaded from the GUI as a type library. Better than nothing
5
5
1
27
Replying to @idatips @_marklech_
And now, after hours of #reversing that super complex structure, you can use #WinDbg SyntheticTypes JS #plugin (github.com/Microsoft/WinDbg-…) to use it directly in your debugger
15
50