-
Notifications
You must be signed in to change notification settings - Fork 283
Expand file tree
/
Copy pathcompileoptions.h
More file actions
50 lines (40 loc) · 1.1 KB
/
compileoptions.h
File metadata and controls
50 lines (40 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#pragma once
#include <QtWidgets/QDialog>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QLineEdit>
#include "binaryninjaapi.h"
#include "uicontext.h"
/*!
\ingroup uiapi
*/
class BINARYNINJAUIAPI CompileOptions : public QDialog
{
Q_OBJECT
QCheckBox* m_safeStack;
QLineEdit* m_blacklist;
QLineEdit* m_base;
QLineEdit* m_maxLength;
QCheckBox* m_pad;
QCheckBox* m_polymorph;
QRadioButton* m_exit;
QRadioButton* m_allowReturn;
QRadioButton* m_concat;
QLineEdit* m_stackReg;
QLineEdit* m_frameReg;
QLineEdit* m_baseReg;
QLineEdit* m_returnReg;
QLineEdit* m_returnHighReg;
QCheckBox* m_encodePointers;
QCheckBox* m_stackGrowsUp;
QCheckBox* m_antiDisasm;
QLineEdit* m_antiDisasmFreq;
QLineEdit* m_seed;
QString optionValue(const std::map<std::string, std::string>& options, const std::string& name);
void updateOptions(const std::map<std::string, std::string>& options);
public:
CompileOptions(QWidget* parent, const std::map<std::string, std::string>& initialOptions);
std::map<std::string, std::string> getSettings();
private Q_SLOTS:
void reset();
};