Pin
Functions
Pin Deprecated API

Functions

PIN_DEPRECATED_API VOID CALLBACK_SetExecutionPriority (PIN_CALLBACK callback, INT32 priority)
 
PIN_DEPRECATED_API INT32 CALLBACK_GetExecutionPriority (PIN_CALLBACK callback)
 
PIN_DEPRECATED_API ADDRINT IMG_Entry (IMG img)
 
BOOL PIN_SetThreadData (TLS_KEY key, const VOID *data)
 
VOID * 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

◆ CALLBACK_GetExecutionPriority()

PIN_DEPRECATED_API INT32 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.

◆ CALLBACK_SetExecutionPriority()

PIN_DEPRECATED_API VOID CALLBACK_SetExecutionPriority ( PIN_CALLBACK  callback,
INT32  priority 
)

Deprecated Pin client functions.

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.

◆ IMG_Entry()

PIN_DEPRECATED_API ADDRINT 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

◆ PIN_GetThreadData()

VOID* PIN_GetThreadData ( TLS_KEY  key)
inline

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

◆ PIN_SetThreadData()

BOOL PIN_SetThreadData ( TLS_KEY  key,
const VOID *  data 
)
inline

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