Geant4_10
|
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <libgen.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <fcntl.h>
#include <sys/mman.h>
#include <errno.h>
#include <assert.h>
#include <signal.h>
#include <execinfo.h>
#include <sys/syscall.h>
#include <pthread.h>
#include "tls.hh"
#include "memoryprotection/UDSignals.h"
#include "memoryprotection/MemorySegment.h"
Go to the source code of this file.
Macros | |
#define | MAXTHREADS 128 |
Functions | |
void * | AllocateInProtectedHeap (size_t size) |
void | PhaseChange () |
void | BuildProtectedMemory (size_t totalHeap) |
void | addThread () |
void | setuphandlers () |
void | starttracer () |
void | finishtracer () |
void | StartDetection () |
void | FinishDetection () |
Variables | |
int | numberOfThreads = 0 |
pid_t | threads [MAXTHREADS] |
pid_t | tracerpid |
#define MAXTHREADS 128 |
Definition at line 456 of file ProtectedMemory.cc.
void addThread | ( | ) |
Definition at line 462 of file ProtectedMemory.cc.
void* AllocateInProtectedHeap | ( | size_t | size | ) |
void BuildProtectedMemory | ( | size_t | totalHeap | ) |
Definition at line 183 of file ProtectedMemory.cc.
void FinishDetection | ( | ) |
Definition at line 525 of file ProtectedMemory.cc.
void finishtracer | ( | ) |
void PhaseChange | ( | ) |
void setuphandlers | ( | ) |
void StartDetection | ( | ) |
void starttracer | ( | ) |
int numberOfThreads = 0 |
Definition at line 457 of file ProtectedMemory.cc.
pid_t threads[MAXTHREADS] |
Definition at line 458 of file ProtectedMemory.cc.
pid_t tracerpid |
Definition at line 459 of file ProtectedMemory.cc.