#include <glib.h>
#include "target_api.h"
Go to the source code of this file.
#define SAFE_TARGET_PROCESS_OP |
( |
|
target, |
|
|
|
op, |
|
|
|
errval, |
|
|
|
... |
|
) |
| |
Value:do { \
errno = EINVAL; \
return (errval); \
} \
verror(
"target %s does not support process operation '%s'!\n", \
errno = ENOSYS; \
return (errval); \
} \
else { \
} \
} while (0);
target_personality_t personality
struct target_process_ops * process_ops
#define verror(format,...)
Definition at line 31 of file target_process.h.
Enumerator |
---|
TARGET_PROCESS_TYPE_NONE |
|
TARGET_PROCESS_TYPE_LINUX |
|
Definition at line 26 of file target_process.h.
Creates a target_process.
- Parameters
-
target | The target object this process is associated with. If the target program is a process, the target object is the target itself; if the target program is an OS, the target object is the target object for the OS. Hopefully, this will not lead to confusion! |
tthread | The main thread in the process. The thread's target object should be the same as the target object parameter above. |
space | The addrspace associated with the process. Again, the space's target should be the same as the target param above. |
- Returns
- A target_process.
Definition at line 43 of file target_process.c.