summaryrefslogtreecommitdiff
path: root/src/debug/createdump/createdump.h
blob: 38c3525f34975e5675beb87d61c0683af6430610 (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
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
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

#define ___in       _SAL1_Source_(__in, (), _In_)
#define ___out      _SAL1_Source_(__out, (), _Out_)

#ifndef _countof
#define _countof(x) (sizeof(x)/sizeof(x[0]))
#endif

extern bool g_diagnostics;

#define TRACE(args...) \
        if (g_diagnostics) { \
            printf(args); \
        }

#include <winternl.h>
#include <winver.h>
#include <windows.h>
#include <stdlib.h>
#include <stdint.h>
#include <stddef.h>
#include <string.h>
#include <corhdr.h>
#include <cor.h>
#include <corsym.h>
#include <clrdata.h>
#include <xclrdata.h>
#include <corerror.h>
#include <cordebug.h>
#include <xcordebug.h>
#include <mscoree.h>
#include <dumpcommon.h>
#include <arrayholder.h>
#include <releaseholder.h>
#include <unistd.h>
#include <signal.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/ptrace.h> 
#include <sys/user.h> 
#include <sys/wait.h>
#include <sys/procfs.h>
#include <dirent.h>
#include <fcntl.h>
#include <elf.h>
#include <link.h>
#include <map>
#include <set>
#include <vector>
#include "datatarget.h"
#include "threadinfo.h"
#include "memoryregion.h"
#include "crashinfo.h"
#include "dumpwriter.h"