PinCRT
Macros | Typedefs | Enumerations
Data types

Macros

#define CPU_MEMORY_CACHELINE_SIZE   64
 
#define FILENAME_BUF_SIZE   1024
 

Typedefs

typedef unsigned char BOOL_T
 
typedef ADDRINT NATIVE_FD
 
typedef UINT32 NATIVE_PID
 
typedef UINT32 NATIVE_TID
 

Enumerations

enum  TRI {
  TRI_YES,
  TRI_NO,
  TRI_MAYBE
}
 

Detailed Description

this headerfile contains defines the types that are the foundation of other code

Macro Definition Documentation

◆ CPU_MEMORY_CACHELINE_SIZE

#define CPU_MEMORY_CACHELINE_SIZE   64

The size of the memory cache line in a single core.

◆ FILENAME_BUF_SIZE

#define FILENAME_BUF_SIZE   1024

The size of the file name buffer.

Typedef Documentation

◆ BOOL_T

typedef unsigned char BOOL_T

Data type for boolean

◆ NATIVE_FD

typedef ADDRINT NATIVE_FD

Generic data type to refer to a kernel file object. This is actually an HANDLE in Windows, and a file descriptor (int) on Unix systems.

◆ NATIVE_PID

typedef UINT32 NATIVE_PID

Data type that can hold a process ID. On OS-APIs all processes can be refered to by their PIDs.

◆ NATIVE_TID

typedef UINT32 NATIVE_TID

Data type that can hold a thread ID. On OS-APIs all threads can be refered to by their TIDs.

Enumeration Type Documentation

◆ TRI

enum TRI

Generic type for three-state logic.