TransWikia.com

Get function return value

Reverse Engineering Asked on September 29, 2021

Any idea for more ways to get return value?
(No hooks, no hw/memory breakpoints, no call functions).
thx 🙂

I tried to find a dword maybe that hold the function return, but I didn’t find it.

I’m trying to create an API.

One Answer

Every assembly architecture has it's own calling conventions, which defines how arguments are passed to a function, and how they are returned. You need to identify your relevant calling conventions and act accordingly.

For example, in ARM assembly architecture, the register R0 holds the return value.

Answered by macro_controller on September 29, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP