Skip to content

GetModuleByAddr

Return the module name by address

Declaration

Source position: exeinfo.pp line 62

  procedure GetModuleByAddr(addr: pointer; var baseaddr: pointer; 
                           var filename: string);

Description

GetModuleByAddr returns the name of the module that contains address addr. If successful, it returns True and returns the filename in FileName and the base address at which it is loaded in BaseAddr.