forked from kweatherman/IDA_ClassInformer_PlugIn
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStdAfx.h
More file actions
58 lines (50 loc) · 1.7 KB
/
StdAfx.h
File metadata and controls
58 lines (50 loc) · 1.7 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
51
52
53
54
55
56
57
58
// Common includes and defines
#pragma once
#define WIN32_LEAN_AND_MEAN
#define WINVER 0x0A00 // _WIN32_WINNT_WIN10
#define _WIN32_WINNT 0x0A00
#include <windows.h>
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include <tchar.h>
#include <math.h>
#include <crtdbg.h>
#include <intrin.h>
#pragma intrinsic(memset, memcpy, strcat, strcmp, strcpy, strlen, abs, fabs, labs, atan, atan2, tan, sqrt, sin, cos)
// IDA SDK
#define USE_DANGEROUS_FUNCTIONS
#define USE_STANDARD_FILE_FUNCTIONS
#pragma warning(push)
#pragma warning(disable:4244) // conversion from 'ssize_t' to 'int', possible loss of data
#pragma warning(disable:4267) // conversion from 'size_t' to 'uint32', possible loss of data
#pragma warning(disable:4018) // warning C4018: '<': signed/unsigned mismatch
#include <ida.hpp>
#include <auto.hpp>
#include <loader.hpp>
#include <search.hpp>
#include <typeinf.hpp>
#include <nalt.hpp>
#include <demangle.hpp>
#pragma warning(pop)
// Qt SDK
#include <QtCore/QTextStream>
#include <QtCore/QFile>
#include <QtWidgets/QApplication>
#include <QtWidgets/QProgressDialog>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QTableView>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QScrollBar>
#include <QResource>
#include "Utility.h"
#include "undname.h"
#include <vector>
#include <set>
typedef std::vector<ea_t> eaList;
typedef std::set<ea_t> eaSet;
// Note the path is hard coded in the .qss and dialog.ui files, so this dev define has limited use
//#define QT_RES_PATH "C:/Projects/IDA_Pro_Work/IDA_ClassInformer_PlugIn/res/"
#define QT_RES_PATH ":/res/"
#define MY_VERSION MAKE_SEMANTIC_VERSION(VERSION_RELEASE, 6, 0, 2)