harelon / GoFastAnalyzer

Go fastcall analysis for ida decompiler
MIT License
28 stars 2 forks source link

GoFastAnalyzer

Go fastcall analysis for ida decompiler

Installation

Put the GoAnalyzer.py and GoAnalyzer dir in your plugins directory

Motivation

Currently, IDA Pro doesn't detect the new Go internal abi which is the new way of calling functions in go since go 1.17 good enough

This new calling convention uses registers instead of the stack to pass parameters However IDA detects the convention as __golang convention which passes parameters on the stack,
which makes the decompilation look confusing

In newer versions of IDA the __golang is defined in the registers we take this into consideration, and use this new feature

Features

Main features

Example

Without using the plugin

Without plugin

With using the plugin

With plugin

Contribution

Any contribution to the repository is welcome

License

MIT