]> git.saurik.com Git - apple/system_cmds.git/blob - gcore.tproj/vanilla.h
system_cmds-790.tar.gz
[apple/system_cmds.git] / gcore.tproj / vanilla.h
1 /*
2 * Copyright (c) 2016 Apple Inc. All rights reserved.
3 */
4
5 #include "vm.h"
6
7 #ifndef _VANILLA_H
8 #define _VANILLA_H
9
10 struct proc_bsdinfo;
11
12 extern void validate_core_header(const native_mach_header_t *, off_t);
13 extern int coredump(task_t, int, const struct proc_bsdinfo *);
14 extern int coredump_write(task_t, int, struct regionhead *, const uuid_t, mach_vm_offset_t, mach_vm_offset_t);
15 extern struct regionhead *coredump_prepare(task_t, uuid_t);
16
17 #endif /* _VANILLA_H */