Stackdb
Stackdb is a stackable, multi-target and -level source debugger and memory forensics library.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
target_os_process.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2013, 2014 The University of Utah
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU General Public License as
6  * published by the Free Software Foundation; either version 2 of
7  * the License, or (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
17  */
18 
19 #ifndef __TARGET_OS_PROCESS_H__
20 #define __TARGET_OS_PROCESS_H__
21 
22 #include <glib.h>
23 
24 #include "evloop.h"
25 #include "target_api.h"
26 
27 /*
28  * Notes:
29  *
30  * First, we always add all threads in the thread group associated with
31  * the thread the user instantiates the overlay for. If they don't
32  * provide the main thread, we "pivot" it into place in our init() ops.
33  */
34 
35 extern struct target_ops os_process_ops;
36 
38 void os_process_free_spec(struct os_process_spec *spec);
39 
40 /*
41  * Nothing at the moment.
42  */
43 struct os_process_spec { };
45 
46 
48  uint8_t loading_memory:1;
49 };
50 
51 #endif /* __TARGET_OS_PROCESS_H__ */
struct target_ops os_process_ops
struct os_process_spec * os_process_build_spec(void)
void os_process_free_spec(struct os_process_spec *spec)