/
githubmirror
/
x64dbg
Обзор
Документация
Войти
/
githubmirror
/
x64dbg
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
development
src/cross/minidump/FileParser.h
34 строки
867 B
Duncan Ogilvie
Add thread/register view to cross/minidump
14 апр 2026, 21:27
14 апр 2026, 21:27
2827f88
Код
Авторство
О чём код?
#pragma once #include <memory> #include <string> #include <vector> #include "Disassembler/Architecture.h" #include "MiniThreads.h" struct MemoryRegion { uint64_t BaseAddress = 0; uint64_t RegionSize = 0; std::string State; uint64_t AllocationBase = -1; std::string AllocationProtect; std::string Protect; std::string Type; std::string Info; }; struct FileParser { static std::unique_ptr<FileParser> Create(const uint8_t* begin, const uint8_t* end, std::string & error); virtual ~FileParser() = default; virtual bool disasm64() = 0; virtual std::vector<MemoryRegion> MemoryRegions() const = 0; virtual std::vector<ThreadInfo> Threads() const = 0; virtual uint64_t entryPoint() const = 0; }; // TODO: replace this with something smarter Architecture* GlobalArchitecture();