mirror of
https://github.com/sstefani/mtrace.git
synced 2026-02-09 03:06:43 +08:00
fix header
This commit is contained in:
parent
44e172dee9
commit
ba3dc828df
@ -122,9 +122,9 @@ ssize_t copy_from_to_proc(struct task *task, arch_addr_t addr, const void *src,
|
|||||||
* to local buffer dst */
|
* to local buffer dst */
|
||||||
ssize_t copy_str_from_proc(struct task *task, arch_addr_t addr, char *dst, size_t len);
|
ssize_t copy_str_from_proc(struct task *task, arch_addr_t addr, char *dst, size_t len);
|
||||||
|
|
||||||
/* Called at some point after we have attached to PROC. This callback
|
/* Called at some point after we have attached to the process. This callback
|
||||||
* should insert an introspection breakpoint for handling dynamic
|
* should insert an introspection breakpoint for handling dynamic linker
|
||||||
* linker library loads. */
|
* library loads. */
|
||||||
int linkmap_init(struct task *task, arch_addr_t dyn_addr);
|
int linkmap_init(struct task *task, arch_addr_t dyn_addr);
|
||||||
|
|
||||||
/* This should extract entry point address and interpreter (dynamic
|
/* This should extract entry point address and interpreter (dynamic
|
||||||
|
|||||||
3
task.h
3
task.h
@ -103,9 +103,6 @@ struct task {
|
|||||||
struct list_head leader_list;
|
struct list_head leader_list;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* PROC underwent an exec. This is a bit like task_destroy
|
|
||||||
* followed by task_init, except that some state is kept and the
|
|
||||||
* process doesn't lose it's place in the list of processes. */
|
|
||||||
int process_exec(struct task *task);
|
int process_exec(struct task *task);
|
||||||
|
|
||||||
struct task *task_new(pid_t pid, int traced);
|
struct task *task_new(pid_t pid, int traced);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user