linuxKludges.h File Reference

#include <vector>

Go to the source code of this file.

Defines

#define _linux_kludges_h
#define getVMMaps   getLinuxMaps

Functions

unsigned long long PDYN_div1000 (unsigned long long in)
unsigned long long PDYN_divMillion (unsigned long long in)
unsigned long long PDYN_mulMillion (unsigned long long in)
bool PtraceBulkRead (Dyninst::Address inTraced, unsigned size, const void *inSelf, int pid)
bool PtraceBulkWrite (Dyninst::Address inTraced, unsigned size, const void *inSelf, int pid)
bool findProcLWPs (pid_t pid, std::vector< pid_t > &lwps)
map_entriesgetVMMaps (int pid, unsigned &maps_size)
map_entriesgetLinuxMaps (int pid, unsigned &maps_size)

Define Documentation

#define _linux_kludges_h

Definition at line 33 of file linuxKludges.h.

#define getVMMaps   getLinuxMaps

Definition at line 49 of file linuxKludges.h.

Referenced by setVersion().


Function Documentation

bool findProcLWPs ( pid_t  pid,
std::vector< pid_t > &  lwps 
)

Linux 2.6:

Linux 2.4:

PIDs that are created by pthreads have a '.' prepending their name in /proc. We'll check all of those for the ones that have this lwp as a parent pid.

Definition at line 1031 of file linuxKludges.C.

References P_fopen().

map_entries* getLinuxMaps ( int  pid,
unsigned &  maps_size 
)
map_entries* getVMMaps ( int  pid,
unsigned &  maps_size 
)
unsigned long long PDYN_div1000 ( unsigned long long  in  ) 

Definition at line 35 of file irixKludges.C.

unsigned long long PDYN_divMillion ( unsigned long long  in  ) 

Definition at line 70 of file irixKludges.C.

unsigned long long PDYN_mulMillion ( unsigned long long  in  ) 

Definition at line 103 of file irixKludges.C.

bool PtraceBulkRead ( Dyninst::Address  inTraced,
unsigned  size,
const void *  inSelf,
int  pid 
)

Definition at line 224 of file linuxKludges.C.

References P_ptrace().

bool PtraceBulkWrite ( Dyninst::Address  inTraced,
unsigned  size,
const void *  inSelf,
int  pid 
)

Definition at line 311 of file freebsdKludges.C.

References P_ptrace(), and PtraceBulkAccess().

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 12 Jul 2013 for SymtabAPI by  doxygen 1.6.1