Ledger-Donjon / rainbow

Makes Unicorn traces. Generic Side-Channel and Fault Injection simulator
GNU Lesser General Public License v3.0
172 stars 34 forks source link

Stub by address, not by function name #51

Closed erdnaxe closed 11 months ago

erdnaxe commented 1 year ago

When using Rainbow with multiple complex binaries loaded in memory, it is common to have multiple function with the same name.

This patch proposes to change how Rainbow internally handle stubbing:

This also increases reproducibility of experiments conducted using Rainbow.

Note This creates a breaking changes as emu.stubbed_functions will now contain function addresses.