Package vtrace :: Package platforms :: Module android :: Class AndroidArmTrace
[hide private]
[frames] | no frames]

Class AndroidArmTrace

source code

                   envi.memory.IMemory --+    
                                         |    
        envi.registers.RegisterContext --+    
                                         |    
          envi.resolver.SymbolResolver --+    
                                         |    
                                object --+    
                                         |    
                                     Trace --+
                                             |
                      gdbstub.GdbStubMixin --+
                                             |
           envi.ArchitectureModule --+       |
                                     |       |
              envi.archs.arm.ArmModule --+   |
                                         |   |
    envi.registers.RegisterContext --+   |   |
                                     |   |   |
envi.archs.arm.regs.ArmRegisterContext --+   |
                                         |   |
                        archs.arm.ArmMixin --+
                                             |
                            posix.ElfMixin --+
                                             |
                            object --+       |
                                     |       |
                    notifiers.Notifier --+   |
                                         |   |
                           base.TracerBase --+
                                             |
                                            AndroidArmTrace

Instance Methods [hide private]
 
__init__(self, avd=None)
Hand in a register definition which consists of a list of (<name>, <width>) tuples.
source code
 
platformAttach(self, pid)
Actually carry out attaching to a target process.
source code
 
platformGetMaps(self)
Return a list of the memory maps where each element has the following structure: (address, length, perms, file="") NOTE: By Default this list is available as Trace.maps because the default implementation attempts to populate them on every break/stop/etc...
source code
 
platformDetach(self)
Actually perform the detach for this type
source code
 
platformPs(self)
Actually return a list of tuples in the format (pid, name) for this platform
source code
 
platformOpenFile(self, filename) source code

Inherited from Trace: addBreakByAddr, addBreakByExpr, addBreakpoint, addIgnoreSignal, allocateMemory, attach, buildNewTrace, call, delIgnoreSignal, deregisterNotifier, detach, disableAutoContinue, enableAutoContinue, execute, getAutoContinueList, getBreakpoint, getBreakpointByAddr, getBreakpointCode, getBreakpointEnabled, getBreakpoints, getCurrentBreakpoint, getCurrentSignal, getCurrentThread, getFds, getMemoryFault, getMemoryMaps, getMeta, getMode, getNormalizedLibNames, getNotifiers, getPid, getRegister, getRegisterContext, getStackTrace, getStruct, getStructNames, getSymByAddr, getSymByName, getSymsForFile, getThreads, getVariable, getVariables, hasMeta, hex, injectThread, injectso, isAttached, isRemote, isRunning, isThreadSuspended, joinThread, kill, parseExpression, protectMemory, ps, readMemory, registerNotifier, release, removeBreakpoint, requireAttached, requireNotExited, requireNotRunning, resumeThread, run, runAgain, searchMemory, searchMemoryRange, searchSymbols, selectThread, sendBreak, setBreakpointCode, setBreakpointEnabled, setCurrentSignal, setMeta, setMode, setRegister, setVariable, stepi, suspendThread, writeMemory

Inherited from envi.memory.IMemory: addMemoryMap, getMemoryMap, getPointerSize, getSegmentInfo, isExecutable, isReadable, isShared, isValidPointer, isWriteable, parseOpcode, probeMemory, readMemValue, readMemoryFormat, writeMemoryFormat

Inherited from gdbstub.GdbStubMixin: platformContinue, platformGetRegCtx, platformGetThreads, platformProcessEvent, platformReadMemory, platformSendBreak, platformSetRegCtx, platformStepi, platformWait, platformWriteMemory

Inherited from envi.archs.arm.ArmModule: archGetBreakInstr, archGetRegCtx, getEmulator, makeOpcode, pointerString, setModeThumb

Inherited from envi.registers.RegisterContext: addMetaRegister, getMetaRegInfo, getProgramCounter, getRegDef, getRegisterByName, getRegisterIndex, getRegisterInfo, getRegisterName, getRegisterNameIndexes, getRegisterNames, getRegisterSnap, getRegisterWidth, getRegisters, getStackCounter, isDirty, isMetaRegister, loadRegDef, loadRegMetas, reprRegister, setIsDirty, setProgramCounter, setRegisterByName, setRegisterIndexes, setRegisterInfo, setRegisterSnap, setRegisters, setStackCounter

Inherited from envi.resolver.SymbolResolver: addSymbol, delSymbol, getSymHint, getSymList

Inherited from posix.ElfMixin: platformParseBinary

Inherited from base.TracerBase: __del__, __repr__, addLibraryBase, archAddWatchpoint, archCheckWatchpoints, archGetStackTrace, archRemWatchpoint, checkBreakpoints, checkPageWatchpoints, checkWatchpoints, delLibraryBase, doStepLoop, fireNotifiers, fireTracerThread, getExe, getResolverForFile, initMode, nextBpId, normFileName, notify, platformAllocateMemory, platformCall, platformExec, platformGetFds, platformGetMemFault, platformGetSignal, platformInjectSo, platformInjectThread, platformKill, platformProtectMemory, platformRelease, platformResumeThread, platformSelectThread, platformSetSignal, platformSuspendThread, shouldRunAgain, steploop, wait

Inherited from notifiers.Notifier: handleEvent

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, avd=None)
(Constructor)

source code 

Hand in a register definition which consists of a list of (<name>, <width>) tuples.

Overrides: object.__init__
(inherited documentation)

platformAttach(self, pid)

source code 

Actually carry out attaching to a target process. Like platformStepi this is expected to be ATOMIC and not return until a complete attach.

Overrides: base.TracerBase.platformAttach
(inherited documentation)

platformGetMaps(self)

source code 

Return a list of the memory maps where each element has the following structure: (address, length, perms, file="") NOTE: By Default this list is available as Trace.maps because the default implementation attempts to populate them on every break/stop/etc...

Overrides: base.TracerBase.platformGetMaps
(inherited documentation)

platformDetach(self)

source code 

Actually perform the detach for this type

Overrides: base.TracerBase.platformDetach
(inherited documentation)

platformPs(self)

source code 

Actually return a list of tuples in the format (pid, name) for this platform

Overrides: base.TracerBase.platformPs
(inherited documentation)

platformOpenFile(self, filename)

source code 
Overrides: base.TracerBase.platformOpenFile