cutter/src/common/InitialOptions.h

49 lines
865 B
C
Raw Normal View History

#ifndef CUTTER_INITIALOPTIONS_H
#define CUTTER_INITIALOPTIONS_H
#include "core/Cutter.h"
/**
* @brief The CommandDescription struct is a pair of a Rizin command and its description
*/
2021-01-24 14:50:13 +00:00
struct CommandDescription
{
QString command;
QString description;
};
struct InitialOptions
{
enum class Endianness { Auto, Little, Big };
QString filename;
QString projectFile;
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;
2021-01-24 14:50:13 +00:00
QList<CommandDescription> analCmd = { { "aaa", "Auto analysis" } };
QString shellcode;
};
2021-01-24 14:50:13 +00:00
#endif // CUTTER_INITIALOPTIONS_H