assembly - How to find addresses that a program used? -
i want find memory addresses exe file uses. have exe file , want have list of addresses uses.
this must done statically , without running executable itself. can me please?
also, if know dynamic way please tell me.
you must exe header. there list of addresses loader must adapt relative base address when executable run. called relocation table. when exe via disassembler ida can assume load address or exe can specify it.
normally addresses relative, if find address once, it's not guaranteed in same place. if program written or compiled position independent code, doesn't rely on absolute address.
just disassembling can @ tools ida or similar.
Comments
Post a Comment