summaryrefslogtreecommitdiffhomepage
path: root/include/perk/perk_output.h
blob: dd080e9e5aa85976de6d745aec327c7c5d53c64d (plain)
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
#ifndef PERK_OUTPUT_H
#define PERK_OUTPUT_H

#include <stdint.h>

#define PERK_PRETTY(x)			((uint64_t)x << 32)

/* output actions */
#define PERK_OUTPUT_EXPORT_SYMS		0x00000001
#define PERK_OUTPUT_IMPORT_LIBS		0x00000002
#define PERK_OUTPUT_IMPORT_SYMS		0x00000004
#define PERK_OUTPUT_IMAGE_CATEGORY	0x00000008
#define PERK_OUTPUT_IMAGE_SECTIONS	0x00000010
#define PERK_OUTPUT_IMAGE_SYMBOLS	0x00000020
#define PERK_OUTPUT_IMAGE_STRINGS	0x00000040


/* pretty-printer flags */
#define PERK_PRETTY_LIST		PERK_PRETTY(0x00000001)
#define PERK_PRETTY_TABLE		PERK_PRETTY(0x00000002)
#define PERK_PRETTY_READOBJ		PERK_PRETTY(0x00000004)
#define PERK_PRETTY_OBJDUMP		PERK_PRETTY(0x00000008)
#define PERK_PRETTY_YAML		PERK_PRETTY(0x00000010)
#define PERK_PRETTY_DLLTOOL		PERK_PRETTY(0x00000020)

#endif