DbgArgumentGet

This function gets the boundaries of the given argument location as start and end addresses.

bool DbgArgumentGet(duint addr, duint* start, duint* end);

参数

addr Address of the argument to fetch.

start Pointer to a duint variable that will hold the start address of the argument.

end Pointer to a duint variable that will hold the end address of the argument.

返回值

The function return TRUE if the start and end addresses are found or FALSE otherwise. If TRUE, the variables start and end will hold the fetched values.

示例

duint start; duint end; std::string message; if(DbgArgumentGet(0x00401000, &start, &end)) { sprintf_s(message.c_str(), MAX_PATH, "Argument range: %08X-%08X\r\n", start, end); GuiAddLogMessage(message); } else { GuiAddLogMessage("Argument start and end addresses couldn't be get\r\n"); }