Pin
Functions
Pin Deprecated API

Functions

PIN_DEPRECATED_API VOID LEVEL_PINCLIENT::CALLBACK_SetExecutionPriority (PIN_CALLBACK callback, INT32 priority)
PIN_DEPRECATED_API INT32 LEVEL_PINCLIENT::CALLBACK_GetExecutionPriority (PIN_CALLBACK callback)
PIN_DEPRECATED_API ADDRINT LEVEL_PINCLIENT::IMG_Entry (IMG img)
BOOL LEVEL_PINCLIENT::PIN_SetThreadData (TLS_KEY key, const VOID *data)
VOID * LEVEL_PINCLIENT::PIN_GetThreadData (TLS_KEY key)

Detailed Description

APIs from older versions of Pin that have been replaced by more powerful, or simpler, interfaces in the current version of Pin. The newer APIs should be used instead of these interfaces.


Function Documentation

PIN_DEPRECATED_API INT32 LEVEL_PINCLIENT::CALLBACK_GetExecutionPriority ( PIN_CALLBACK  callback)

Gets the execution priority of a registered callback function The lower the execution priority, the sooner it will be called relative to other similar callbacks

Parameters:
callbackRegistered Callback function returned from *_Add*Function()
Returns:
INT32 The current priority value of the callback
Availability:
Mode: JIT
O/S: Linux, Windows & macOS*
CPU: All
Note:
DEPRECATED: See CALLBACK_GetExecutionOrder.
PIN_DEPRECATED_API VOID LEVEL_PINCLIENT::CALLBACK_SetExecutionPriority ( PIN_CALLBACK  callback,
INT32  priority 
)

Sets the execution priority of a registered callback function The lower the execution priority, the sooner it will be called relative to other similar callbacks

Parameters:
callbackRegistered Callback function returned from *_Add*Function()
priorityNew priority to assign to the callback
Note:
The pin client lock is obtained during the call of this API.
Availability:
Mode: JIT
O/S: Linux, Windows & macOS*
CPU: All
Note:
DEPRECATED: See CALLBACK_SetExecutionOrder.
PIN_DEPRECATED_API ADDRINT LEVEL_PINCLIENT::IMG_Entry ( IMG  img)
Parameters:
[in]imgPin image handle
Returns:
Address of first instruction executed when image is loaded
Note:
DEPRECATED: API returned wrong value in case of position independent code. Use IMG_EntryAddress() instead.
Availability:
Mode: JIT & Probe
O/S: Linux, Windows & macOS*
CPU: All
VOID* LEVEL_PINCLIENT::PIN_GetThreadData ( TLS_KEY  key)

Get the value stored in the specified TLS slot of the thread.

Note:
DEPRECATED and NO LONGER SUPPORTED. Please use the version of this function which takes a THREADID argument.
Availability:
Mode: JIT
O/S: Linux, Windows & macOS*
CPU: All
BOOL LEVEL_PINCLIENT::PIN_SetThreadData ( TLS_KEY  key,
const VOID *  data 
)

Store specified value in the specified TLS slot of the thread.

Note:
DEPRECATED and NO LONGER SUPPORTED. Please use the version of this function which takes a THREADID argument.
Availability:
Mode: JIT
O/S: Linux, Windows & macOS*
CPU: All
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator