C# Class XLibrary.XRay

显示文件 Open project: swax/CodePerspective

Public Properties

Property Type Description
AppDir string
BuilderVersion string
CallChange bool
CallMap SharedDictionary
ClassCallMap SharedDictionary
ClassTracking bool
CoreMessages Queue
CoreThread Thread
CoverChange bool
CoveredNodes System.Collections.BitArray
DashOffset int
DatHash string
DatPath string
DatSize long
EnableIpcServer bool
EnableLocalViewer bool
EnableTcpServer bool
EncryptionKey string
ErrorDupes HashSet
ErrorLog List
FieldGetLeftToRight bool
FlowMap SharedDictionary
FlowTracking bool
FunctionCount int
InitComplete bool
InitMap SharedDictionary
InstanceChange bool
InstanceTracking bool
Nodes XLibrary.XNodeIn[]
Remote XLibrary.Remote.XRemote
RemoteViewer bool
RndGen Random
RootNode XNodeIn
RunCoreEvent AutoResetEvent
Settings string>.Dictionary
ShowViewerOnStart bool
StartTime DateTime
TargetFps int
TcpListenPort int
ThreadTracking bool
ThreadlineEnabled bool
TrackFunctionHits bool
TrackMethodExit bool
UIs XUI>.Dictionary
Watch Stopwatch

Public Methods

Method Description
Analyze ( string path ) : void
ApplySettings ( ) : void
Constructed ( int index, Object obj ) : void
CreateNewCall ( int hash, int sourceID, XNodeIn dest ) : FunctionCall
Deconstructed ( int index, Object obj ) : void
GetContainingClass ( XNode node ) : XNode
Init ( string datPath, bool trackFlow, bool trackInstances, bool remoteViewer ) : void
InitCoreThread ( ) : void
IsInvokeRequired ( ) : bool
LoadField ( int nodeID ) : void
MethodCatch ( int nodeID ) : void
MethodEnter ( int nodeID ) : void
MethodEnterWithParams ( object parameters, int nodeID ) : void
MethodExit ( int nodeID ) : void
MethodExitWithValue ( object value, int nodeID ) : void
PairHash ( int a, int b ) : int
RunInCoreAsync ( Action code ) : void
SetField ( int nodeID ) : void
StartGui ( ) : void
TrackClassCall ( FunctionCall functionCall, int thread ) : void

Private Methods

Method Description
CheckCreateInit ( XNodeIn sourceClass, XNodeIn classNode ) : void
CreateLayerCall ( XNodeIn source, XNodeIn dest ) : void
GetStackItem ( int>.Tuple itemPos ) : StackItem
LoadNodeMap ( ) : bool
LogError ( string text ) : void
LogMessage ( string text ) : void
LogUnhandledException ( string excString ) : void
NodeHit ( object parameters, int nodeID, bool loadField = false ) : XNodeIn
RemoteSync ( SyncPacket packet ) : void
ResetCallHits ( SharedDictionary callMap ) : void
ResetFunctionHits ( ) : void
RunEventLoop ( object state ) : void
SetCovered ( XNodeIn node ) : void
StartIpcServer ( ) : void
TrackFunctionCall ( int dest, XNodeIn node, int thread, object parameters, bool loadField = false ) : void
TrackInit ( XNodeIn node ) : void
UpdateThreadAlive ( ) : void

Method Details

Analyze() public static method

public static Analyze ( string path ) : void
path string
return void

ApplySettings() public static method

public static ApplySettings ( ) : void
return void

Constructed() public static method

public static Constructed ( int index, Object obj ) : void
index int
obj Object
return void

CreateNewCall() public static method

public static CreateNewCall ( int hash, int sourceID, XNodeIn dest ) : FunctionCall
hash int
sourceID int
dest XNodeIn
return FunctionCall

Deconstructed() public static method

public static Deconstructed ( int index, Object obj ) : void
index int
obj Object
return void

GetContainingClass() public static method

public static GetContainingClass ( XNode node ) : XNode
node XNode
return XNode

Init() public static method

public static Init ( string datPath, bool trackFlow, bool trackInstances, bool remoteViewer ) : void
datPath string
trackFlow bool
trackInstances bool
remoteViewer bool
return void

InitCoreThread() public static method

public static InitCoreThread ( ) : void
return void

IsInvokeRequired() public static method

public static IsInvokeRequired ( ) : bool
return bool

LoadField() public static method

public static LoadField ( int nodeID ) : void
nodeID int
return void

MethodCatch() public static method

public static MethodCatch ( int nodeID ) : void
nodeID int
return void

MethodEnter() public static method

public static MethodEnter ( int nodeID ) : void
nodeID int
return void

MethodEnterWithParams() public static method

public static MethodEnterWithParams ( object parameters, int nodeID ) : void
parameters object
nodeID int
return void

MethodExit() public static method

public static MethodExit ( int nodeID ) : void
nodeID int
return void

MethodExitWithValue() public static method

public static MethodExitWithValue ( object value, int nodeID ) : void
value object
nodeID int
return void

PairHash() public static method

public static PairHash ( int a, int b ) : int
a int
b int
return int

RunInCoreAsync() public static method

public static RunInCoreAsync ( Action code ) : void
code Action
return void

SetField() public static method

public static SetField ( int nodeID ) : void
nodeID int
return void

StartGui() public static method

public static StartGui ( ) : void
return void

TrackClassCall() public static method

public static TrackClassCall ( FunctionCall functionCall, int thread ) : void
functionCall FunctionCall
thread int
return void

Property Details

AppDir public_oe static_oe property

public static string AppDir
return string

BuilderVersion public_oe static_oe property

public static string BuilderVersion
return string

CallChange public_oe static_oe property

public static bool CallChange
return bool

CallMap public_oe static_oe property

public static SharedDictionary CallMap
return SharedDictionary

ClassCallMap public_oe static_oe property

public static SharedDictionary ClassCallMap
return SharedDictionary

ClassTracking public_oe static_oe property

public static bool ClassTracking
return bool

CoreMessages public_oe static_oe property

public static Queue CoreMessages
return Queue

CoreThread public_oe static_oe property

public static Thread CoreThread
return Thread

CoverChange public_oe static_oe property

public static bool CoverChange
return bool

CoveredNodes public_oe static_oe property

public static BitArray,System.Collections CoveredNodes
return System.Collections.BitArray

DashOffset public_oe static_oe property

public static int DashOffset
return int

DatHash public_oe static_oe property

public static string DatHash
return string

DatPath public_oe static_oe property

public static string DatPath
return string

DatSize public_oe static_oe property

public static long DatSize
return long

EnableIpcServer public_oe static_oe property

public static bool EnableIpcServer
return bool

EnableLocalViewer public_oe static_oe property

public static bool EnableLocalViewer
return bool

EnableTcpServer public_oe static_oe property

public static bool EnableTcpServer
return bool

EncryptionKey public_oe static_oe property

public static string EncryptionKey
return string

ErrorDupes public_oe static_oe property

public static HashSet ErrorDupes
return HashSet

ErrorLog public_oe static_oe property

public static List ErrorLog
return List

FieldGetLeftToRight public_oe static_oe property

public static bool FieldGetLeftToRight
return bool

FlowMap public_oe static_oe property

public static SharedDictionary FlowMap
return SharedDictionary

FlowTracking public_oe static_oe property

public static bool FlowTracking
return bool

FunctionCount public_oe static_oe property

public static int FunctionCount
return int

InitComplete public_oe static_oe property

public static bool InitComplete
return bool

InitMap public_oe static_oe property

public static SharedDictionary InitMap
return SharedDictionary

InstanceChange public_oe static_oe property

public static bool InstanceChange
return bool

InstanceTracking public_oe static_oe property

public static bool InstanceTracking
return bool

Nodes public_oe static_oe property

public static XNodeIn[],XLibrary Nodes
return XLibrary.XNodeIn[]

Remote public_oe static_oe property

public static XRemote,XLibrary.Remote Remote
return XLibrary.Remote.XRemote

RemoteViewer public_oe static_oe property

public static bool RemoteViewer
return bool

RndGen public_oe static_oe property

public static Random RndGen
return Random

RootNode public_oe static_oe property

public static XNodeIn RootNode
return XNodeIn

RunCoreEvent public_oe static_oe property

public static AutoResetEvent RunCoreEvent
return AutoResetEvent

Settings public_oe static_oe property

public static Dictionary Settings
return string>.Dictionary

ShowViewerOnStart public_oe static_oe property

public static bool ShowViewerOnStart
return bool

StartTime public_oe static_oe property

public static DateTime StartTime
return DateTime

TargetFps public_oe static_oe property

public static int TargetFps
return int

TcpListenPort public_oe static_oe property

public static int TcpListenPort
return int

ThreadTracking public_oe static_oe property

public static bool ThreadTracking
return bool

ThreadlineEnabled public_oe static_oe property

public static bool ThreadlineEnabled
return bool

TrackFunctionHits public_oe static_oe property

public static bool TrackFunctionHits
return bool

TrackMethodExit public_oe static_oe property

public static bool TrackMethodExit
return bool

UIs public_oe static_oe property

public static Dictionary UIs
return XUI>.Dictionary

Watch public_oe static_oe property

public static Stopwatch Watch
return Stopwatch