C# Класс Mono.Debugger.Languages.TargetLocation

This class represents the `location' of a variable. The idea is that we do not always have an address for a variable (for instance if it's stored in a register) and that an addresses lifetime may be limited.
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
GetAddress TargetAddress
GetDereferencedLocation TargetLocation
GetLocationAtOffset TargetLocation
ReadBuffer byte[]
ReadMemory TargetBlob
WriteAddress void
WriteBuffer void

Открытые методы

Метод Описание
Print ( ) : string
ToString ( ) : string

Защищенные методы

Метод Описание
MyToString ( ) : string

Приватные методы

Метод Описание
GetAddress ( TargetMemoryAccess target ) : TargetAddress
GetDereferencedLocation ( ) : TargetLocation
GetLocationAtOffset ( long offset ) : TargetLocation

Clones this location, but adds `offset' to its offset. Note that this'll just affect the new location's `Offset' property - if you use this for reference types, this won't modify the address which gets dereferenced. This is usually what you want to access the data at `offset' within the variable's contents (for instance to skip a header or access an array element).

ReadBuffer ( TargetMemoryAccess target, int size ) : byte[]

Same than ReadMemory(), but returns a byte[] array.

ReadMemory ( TargetMemoryAccess target, int size ) : TargetBlob
WriteAddress ( TargetMemoryAccess target, TargetAddress address ) : void
WriteBuffer ( TargetMemoryAccess target, byte data ) : void

Описание методов

MyToString() защищенный Метод

protected MyToString ( ) : string
Результат string

Print() публичный абстрактный Метод

public abstract Print ( ) : string
Результат string

ToString() публичный Метод

public ToString ( ) : string
Результат string