/
githubmirror
/
x64dbg
Обзор
Документация
Войти
/
githubmirror
/
x64dbg
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
development
src/cross/hex_viewer/File.h
25 строк
594 B
Duncan Ogilvie
Fix formatting
17 авг 2025, 22:08
17 авг 2025, 22:08
b5f6df7
Код
Авторство
О чём код?
#pragma once #include <QObject> #include <QFile> #include "Bridge.h" // TODO: implement as mapped file class File : public QObject, public MemoryProvider { Q_OBJECT public: explicit File(duint virtualBase, const QString & fileName); ~File(); protected: bool read(duint addr, void* dest, duint size) override; bool getRange(duint addr, duint & base, duint & size) override; bool isCodePtr(duint addr) override; bool isValidPtr(duint addr) override; private: duint mVirtualBase = 0; duint mSize = 0; QFile* mFile = nullptr; };