Converts address belonging to some module into offset in executable file. Returns offset or 0 if offset cannot be calculated (for example, address belongs to the gap between two sections).
ulong Findfileoffset(t_module *pmod,ulong addr);
Parameters:
mod - optional pointer to module descriptor. If pmod is NULL, Findfileoffset looks for module descriptor by itself;
addr - address in memory space of debugged application where search for fixups will start.
See also: Findmodule, Findfixup, Finddecode, t_module