Pin
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Enumerations | Functions
rtn.cpp File Reference
#include "level_base.H"
#include "level_core.H"
#include <map>
#include "container.H"

Enumerations

enum  RTN_TYPE {
  RTN_TYPE_INVALID,
  RTN_TYPE_CLONE,
  RTN_TYPE_STUB,
  RTN_TYPE_LINKER_TRAMPOLINE,
  RTN_TYPE_REGULAR,
  RTN_TYPE_LAST
}
 
enum  RTN_STATE {
  RTN_STATE_INVALID,
  RTN_STATE_LAST
}
 

Functions

ARRAYBASE LEVEL_CORE::RtnArrayBase ("rtn pool", 64 *1024)
 
STRIPE< RTN_STRUCT_BASE > LEVEL_CORE::RtnStripeBase ("rtn stripe base","core",&RtnArrayBase)
 
RTN LEVEL_CORE::RTN_INVALID ()
 
BOOL LEVEL_CORE::RTN_valid (RTN x)
 
INT32 LEVEL_CORE::RTN_no (RTN x)
 
BOOL LEVEL_CORE::RTN_allocated (RTN x)
 
RTN_TYPE LEVEL_CORE::RTN_type (RTN x)
 
VOID LEVEL_CORE::RTN_type_set (RTN x, RTN_TYPE y)
 
BOOL LEVEL_CORE::RTN_marked (RTN x)
 
VOID LEVEL_CORE::RTN_marked_set (RTN x, BOOL y)
 
BOOL LEVEL_CORE::RTN_trampoline (RTN x)
 
VOID LEVEL_CORE::RTN_trampoline_set (RTN x, BOOL y)
 
BOOL LEVEL_CORE::RTN_optimizable (RTN x)
 
VOID LEVEL_CORE::RTN_optimizable_set (RTN x, BOOL y)
 
BOOL LEVEL_CORE::RTN_inssFetched (RTN x)
 
VOID LEVEL_CORE::RTN_inssFetched_set (RTN x, BOOL y)
 
BOOL LEVEL_CORE::RTN_hasOutsideBranch (RTN x)
 
VOID LEVEL_CORE::RTN_hasOutsideBranch_set (RTN x, BOOL y)
 
BOOL LEVEL_CORE::RTN_dynamic (RTN x)
 
VOID LEVEL_CORE::RTN_dynamic_set (RTN x, BOOL y)
 
SEC LEVEL_CORE::RTN_sec (RTN x)
 
VOID LEVEL_CORE::RTN_sec_set (RTN x, SEC y)
 
RTN LEVEL_CORE::RTN_next (RTN x)
 
RTN LEVEL_CORE::RTN_prev (RTN x)
 
BBL LEVEL_CORE::RTN_bbl_head (RTN x)
 
VOID LEVEL_CORE::RTN_bbl_head_set (RTN x, BBL y)
 
BBL LEVEL_CORE::RTN_bbl_tail (RTN x)
 
VOID LEVEL_CORE::RTN_bbl_tail_set (RTN x, BBL y)
 
BBL LEVEL_CORE::RTN_bbl_ins_head_only (RTN x)
 
VOID LEVEL_CORE::RTN_bbl_ins_head_only_set (RTN x, BBL y)
 
const string & LEVEL_CORE::RTN_name (RTN x)
 
const string & LEVEL_CORE::RTN_file (RTN x)
 
SYM LEVEL_CORE::RTN_sym (RTN x)
 
VOID LEVEL_CORE::RTN_sym_set (RTN x, SYM y)
 
IADDR LEVEL_CORE::RTN_vaddr_i (RTN x)
 
OADDR LEVEL_CORE::RTN_vaddr_o (RTN x)
 
VOID LEVEL_CORE::RTN_vaddr_o_set (RTN x, OADDR y)
 
USIZE LEVEL_CORE::RTN_size (RTN x)
 
VOID LEVEL_CORE::RTN_size_set (RTN x, USIZE y)
 
VOID LEVEL_CORE::RTN_aoti_set (RTN x, BOOL y)
 
BOOL LEVEL_CORE::RTN_aoti (RTN x)
 
EXT LEVEL_CORE::RTN_ext (RTN x)
 
string LEVEL_CORE::str (RTN rtn)
 
string LEVEL_CORE::longstr (RTN rtn)
 
IADDR * LEVEL_CORE::RTN_unprobed_function (RTN x)
 
IADDR * LEVEL_CORE::RTN_function (RTN x)
 
VOID LEVEL_CORE::RTN_artificial_set (RTN x, BOOL y)
 
BOOL LEVEL_CORE::RTN_artificial (RTN x)
 
LOCALINLINE VOID LEVEL_CORE::RTN_allocated_set (RTN x, BOOL y)
 
LOCALINLINE VOID LEVEL_CORE::RTN_vaddr_i_set (RTN x, IADDR y)
 
LOCALINLINE VOID LEVEL_CORE::RTN_next_set (RTN x, RTN y)
 
LOCALINLINE VOID LEVEL_CORE::RTN_prev_set (RTN x, RTN y)
 
LOCALINLINE VOID LEVEL_CORE::RTN_fileptr_set (RTN x, const string *y)
 
LOCALINLINE VOID LEVEL_CORE::RTN_nameptr_set (RTN x, const string *y)
 
LOCALINLINE const string * LEVEL_CORE::RTN_nameptr (RTN x)
 
LOCALINLINE const string * LEVEL_CORE::RTN_fileptr (RTN x)
 
LOCALINLINE VOID LEVEL_CORE::RTN_sym_init (RTN x)
 
VOID LEVEL_CORE::RTN_GarbageCollect ()
 
LOCALCONST string LEVEL_CORE::StringNoname ("*noname*")
 
LOCALCONST string LEVEL_CORE::StringNofile ("*nofile*")
 
RTN LEVEL_CORE::RTN_Alloc ()
 
VOID LEVEL_CORE::RTN_Free (RTN rtn)
 
VOID LEVEL_CORE::RTN_InsertBefore (RTN rtn, RTN before, SEC parent)
 
VOID LEVEL_CORE::RTN_Append (RTN rtn, SEC parent)
 
VOID LEVEL_CORE::RTN_InsertAfter (RTN rtn, RTN after, SEC parent)
 
VOID LEVEL_CORE::RTN_Prepend (RTN rtn, SEC parent)
 
VOID LEVEL_CORE::RTN_Unlink (RTN rtn)
 
VOID LEVEL_CORE::RTN_SetVaddr (RTN rtn, IADDR iaddr)
 
VOID LEVEL_CORE::RTN_SetName (RTN rtn, const string &name)
 
UINT32 LEVEL_CORE::RTN_numIns (RTN rtn)
 
UINT32 LEVEL_CORE::RTN_ByteSize (RTN rtn)
 
UINT32 LEVEL_CORE::RTN_NumBbl (RTN rtn)
 
UINT32 LEVEL_CORE::RTN_NumAttrCrosslink (RTN rtn)
 
BOOL LEVEL_CORE::RTN_IsLeaf (RTN rtn)
 
BOOL LEVEL_CORE::RTN_ShouldNotBeChanged (RTN rtn)
 
VOID LEVEL_CORE::RTN_Check (RTN rtn)
 
string LEVEL_CORE::RTN_StringLong (RTN rtn)
 
string LEVEL_CORE::RTN_StringLongFancy (RTN rtn)
 
string LEVEL_CORE::RTN_StringLongDataFancy (RTN rtn)
 
VOID LEVEL_CORE::RTN_Unmark1Bbls (RTN rtn)
 
VOID LEVEL_CORE::RTN_Mark1Bbls (RTN rtn)
 
VOID LEVEL_CORE::RTN_MoveBbls (RTN src, RTN dst)
 
VOID LEVEL_CORE::RTN_MakeBbls (RTN rtn)
 
VOID LEVEL_CORE::RTN_UnmakeBbls (RTN rtn)
 
VOID LEVEL_CORE::RTN_RemoveAllExt (RTN rtn)
 

Detailed Description

This file contains RTN primitives