2018-08-18 10:51:11 +00:00
|
|
|
|
|
|
|
#ifndef CUTTER_INITIALOPTIONS_H
|
|
|
|
#define CUTTER_INITIALOPTIONS_H
|
|
|
|
|
2019-02-22 16:50:45 +00:00
|
|
|
#include "core/Cutter.h"
|
2018-08-18 10:51:11 +00:00
|
|
|
|
|
|
|
struct InitialOptions
|
|
|
|
{
|
|
|
|
enum class Endianness { Auto, Little, Big };
|
|
|
|
|
|
|
|
QString filename;
|
|
|
|
|
|
|
|
bool useVA = true;
|
|
|
|
RVA binLoadAddr = RVA_INVALID;
|
|
|
|
RVA mapAddr = RVA_INVALID;
|
|
|
|
|
|
|
|
QString arch;
|
|
|
|
QString cpu;
|
|
|
|
int bits = 0;
|
|
|
|
QString os;
|
|
|
|
|
|
|
|
Endianness endian;
|
|
|
|
|
|
|
|
bool writeEnabled = false;
|
|
|
|
bool loadBinInfo = true;
|
|
|
|
QString forceBinPlugin;
|
|
|
|
|
|
|
|
bool demangle = true;
|
|
|
|
|
|
|
|
QString pdbFile;
|
|
|
|
QString script;
|
|
|
|
|
2018-08-18 18:45:49 +00:00
|
|
|
QList<QString> analCmd = { "aaa" };
|
2018-08-18 10:51:11 +00:00
|
|
|
|
|
|
|
QString shellcode;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif //CUTTER_INITIALOPTIONS_H
|