#include <errno.h>
#include <fcntl.h>
#include <sched.h>
#include <signal.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <unistd.h>
#include <sys/types.h>
#include "mtcp_sys.h"
#include "mtcp_util.ic"
#include "mtcp_check_vdso.ic"
#include "../membarrier.h"
#include "procmapsarea.h"
#include "mtcp_header.h"
#include "tlsutil.h"
Go to the source code of this file.
|
| void | mtcp_check_vdso (char **environ) |
| |
| void | restore_libc (ThreadTLSInfo *tlsInfo, int tls_pid_offset, int tls_tid_offset, MYINFO_GS_T myinfo_gs) |
| |
| int | __libc_start_main (int(*main)(int, char **, char **), int argc, char **argv, void(*init)(void), void(*fini)(void), void(*rtld_fini)(void), void *stack_end) |
| |
| void | __libc_csu_init (int argc, char **argv, char **envp) |
| |
| void | __libc_csu_fini (void) |
| |
| void | __stack_chk_fail (void) |
| |
| void | abort (void) |
| |
| void * | memset (void *s, int c, size_t n) |
| |
| void * | memcpy (void *dest, const void *src, size_t n) |
| |
| NO_OPTIMIZE int | main (int argc, char *argv[], char **environ) |
| |
| void | __stack_chk_fail_local (void) |
| |
| void | __stack_chk_guard (void) |
| |
| void | _Unwind_Resume (void) |
| |
| void | __gcc_personality_v0 (void) |
| |
| void | __intel_security_cookie (void) |
| |
| void | __intel_security_check_cookie (void) |
| |
| #define BINARY_NAME "mtcp_restart" |
| #define BINARY_NAME_M32 "mtcp_restart-32" |
| #define ENABLE_VDSO_CHECK |
| #define RESTORE_MEM_SIZE 5*MB |
| #define RESTORE_STACK_SIZE 5*MB |
| #define shift argv++; argc--; |
| #define STACKSIZE 4*1024*1024 |
| typedef void(* fnptr_t)() |
| void __gcc_personality_v0 |
( |
void |
) | |
|
| void __intel_security_check_cookie |
( |
void |
) | |
|
| void __intel_security_cookie |
( |
void |
) | |
|
| void __libc_csu_fini |
( |
void |
) | |
|
| void __libc_csu_init |
( |
int |
argc, |
|
|
char ** |
argv, |
|
|
char ** |
envp |
|
) |
| |
| int __libc_start_main |
( |
int(*)(int, char **, char **) |
main, |
|
|
int |
argc, |
|
|
char ** |
argv, |
|
|
void(*)(void) |
init, |
|
|
void(*)(void) |
fini, |
|
|
void(*)(void) |
rtld_fini, |
|
|
void * |
stack_end |
|
) |
| |
| void __stack_chk_fail |
( |
void |
) | |
|
| void __stack_chk_fail_local |
( |
void |
) | |
|
| void __stack_chk_guard |
( |
void |
) | |
|
| void _Unwind_Resume |
( |
void |
) | |
|
| NO_OPTIMIZE int main |
( |
int |
argc, |
|
|
char * |
argv[], |
|
|
char ** |
environ |
|
) |
| |
| void* memcpy |
( |
void * |
dest, |
|
|
const void * |
src, |
|
|
size_t |
n |
|
) |
| |
| void* memset |
( |
void * |
s, |
|
|
int |
c, |
|
|
size_t |
n |
|
) |
| |
| void mtcp_check_vdso |
( |
char ** |
environ) | |
|