/
githubmirror
/
x64dbg
Обзор
Документация
Войти
/
githubmirror
/
x64dbg
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
development
src/dbg/function.h
33 строки
994 B
Duncan Ogilvie
DBG: add parent in function API to support function chunks
04 июн 2020, 18:26
04 июн 2020, 18:26
5ab09da
Код
Авторство
О чём код?
#ifndef _FUNCTION_H #define _FUNCTION_H #include "addrinfo.h" struct FUNCTIONSINFO { duint modhash; duint start; duint end; bool manual; duint instructioncount; duint parent; std::string mod() const { return ModNameFromHash(modhash); } }; bool FunctionAdd(duint Start, duint End, bool Manual, duint InstructionCount = 0, duint Parent = 0); bool FunctionGet(duint Address, duint* Start = nullptr, duint* End = nullptr, duint* InstrCount = nullptr, duint* Parent = nullptr); bool FunctionOverlaps(duint Start, duint End); bool FunctionDelete(duint Address); void FunctionDelRange(duint Start, duint End, bool DeleteManual = false); void FunctionCacheSave(JSON Root); void FunctionCacheLoad(JSON Root); bool FunctionEnum(FUNCTIONSINFO* List, size_t* Size); void FunctionClear(); void FunctionGetList(std::vector<FUNCTIONSINFO> & list); bool FunctionGetInfo(duint Address, FUNCTIONSINFO & info); #endif // _FUNCTION_H