Back to X64dbg

DbgMemFindBaseAddr

docs/developers/functions/debug/DbgMemFindBaseAddr.md

2026.04.20505 B
Original Source

DbgMemFindBaseAddr

Returns the baseaddress and size of a specific module

c++
duint DbgMemFindBaseAddr(
  duint addr,
  duint* size
  );

Parameters

addr Virtual address which is in a specific module.

size Pointer, which will, on success, hold the module size.

Return Value

On success, returns the virtual address of a specific module.

On failure, it will return 0.

Example

c++
Example code.