C# Класс Mono.Debugger.Backend.Bfd

Наследование: NativeExecutableReader, ISymbolContainer
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
info Mono.Debugger.TargetMemoryInfo
module Mono.Debugger.Module
os OperatingSystemBackend
symfile BfdSymbolFile

Private Properties

Свойство Тип Описание
Bfd System
FindSection Section
GetSectionByName Section
GetSectionContents byte[]
GetTrampoline bool
ReadDynamicInfo Mono.Debugger.TargetAddress
bfd_close bool
bfd_get_section_by_name System.IntPtr
bfd_glue_check_format_archive bool
bfd_glue_check_format_core bool
bfd_glue_check_format_object bool
bfd_glue_core_file_failing_command string
bfd_glue_elfi386_locate_base long
bfd_glue_get_dynamic_symbols int
bfd_glue_get_errormsg string
bfd_glue_get_first_section System.IntPtr
bfd_glue_get_next_section System.IntPtr
bfd_glue_get_section_contents bool
bfd_glue_get_section_flags SectionFlags
bfd_glue_get_section_name string
bfd_glue_get_section_size int
bfd_glue_get_section_vma long
bfd_glue_get_start_address long
bfd_glue_get_symbol string
bfd_glue_get_symbols int
bfd_glue_get_target_name string
bfd_glue_init_disassembler System.IntPtr
bfd_glue_openr System.IntPtr
bfd_glue_openr_next_archived_file System.IntPtr
bfd_init void
disassembler System.IntPtr
g_free void
this Section

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

Метод Описание
Bfd ( OperatingSystemBackend os, TargetMemoryInfo info, string filename, TargetAddress base_address, bool is_loaded ) : System
GetAddress ( long address ) : TargetAddress
GetMemoryMaps ( ) : Mono.Debugger.TargetMemoryArea[]
GetReader ( TargetAddress address ) : TargetReader
GetReader ( TargetAddress address, bool may_fail ) : TargetReader
GetSectionAddress ( string name ) : TargetAddress
GetSectionContents ( string name ) : byte[]
GetSectionReader ( string name ) : TargetReader
HasSection ( string name ) : bool
LookupLocalSymbol ( string name ) : TargetAddress
LookupSymbol ( string name ) : TargetAddress
OpenCoreFile ( string core_file ) : Bfd
ReadTypes ( ) : void

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

Метод Описание
DoDispose ( ) : void
FindMethod ( string name ) : MethodSource
GetMethods ( SourceFile file ) : MethodSource[]
GetSimpleSymbols ( ) : ArrayList
OnModuleChanged ( ) : void
SimpleLookup ( TargetAddress address, bool exact_match ) : Symbol
UnwindStack ( StackFrame frame, TargetMemoryAccess memory ) : StackFrame
create_frame_reader ( ) : void
load_dwarf ( ) : void
load_frames ( ) : void
read_bfd_symbols ( ) : void
read_sections ( ) : void
unload_dwarf ( ) : void

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

Метод Описание
Bfd ( ) : System
FindSection ( long address ) : Section
GetSectionByName ( string name, bool throw_exc ) : Section
GetSectionContents ( IntPtr section ) : byte[]
GetTrampoline ( TargetMemoryAccess memory, TargetAddress address, TargetAddress &trampoline, bool &is_start ) : bool
ReadDynamicInfo ( Inferior inferior ) : TargetAddress
bfd_close ( IntPtr bfd ) : bool
bfd_get_section_by_name ( IntPtr bfd, string name ) : IntPtr
bfd_glue_check_format_archive ( IntPtr bfd ) : bool
bfd_glue_check_format_core ( IntPtr bfd ) : bool
bfd_glue_check_format_object ( IntPtr bfd ) : bool
bfd_glue_core_file_failing_command ( IntPtr bfd ) : string
bfd_glue_elfi386_locate_base ( IntPtr bfd, IntPtr data, int size ) : long
bfd_glue_get_dynamic_symbols ( IntPtr bfd, IntPtr &symtab ) : int
bfd_glue_get_errormsg ( ) : string
bfd_glue_get_first_section ( IntPtr bfd ) : IntPtr
bfd_glue_get_next_section ( IntPtr section ) : IntPtr
bfd_glue_get_section_contents ( IntPtr bfd, IntPtr section, IntPtr data, int size ) : bool
bfd_glue_get_section_flags ( IntPtr section ) : SectionFlags
bfd_glue_get_section_name ( IntPtr section ) : string
bfd_glue_get_section_size ( IntPtr section ) : int
bfd_glue_get_section_vma ( IntPtr section ) : long
bfd_glue_get_start_address ( IntPtr bfd ) : long
bfd_glue_get_symbol ( IntPtr bfd, IntPtr symtab, int index, int &is_function, long &address ) : string
bfd_glue_get_symbols ( IntPtr bfd, IntPtr &symtab ) : int
bfd_glue_get_target_name ( IntPtr bfd ) : string
bfd_glue_init_disassembler ( IntPtr bfd ) : IntPtr
bfd_glue_openr ( string filename, string target ) : IntPtr
bfd_glue_openr_next_archived_file ( IntPtr archive, IntPtr last ) : IntPtr
bfd_init ( ) : void
disassembler ( IntPtr bfd ) : IntPtr
g_free ( IntPtr data ) : void
this ( long address ) : Section

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

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

public Bfd ( OperatingSystemBackend os, TargetMemoryInfo info, string filename, TargetAddress base_address, bool is_loaded ) : System
os OperatingSystemBackend
info Mono.Debugger.TargetMemoryInfo
filename string
base_address Mono.Debugger.TargetAddress
is_loaded bool
Результат System

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

protected DoDispose ( ) : void
Результат void

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

protected FindMethod ( string name ) : MethodSource
name string
Результат MethodSource

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

public GetAddress ( long address ) : TargetAddress
address long
Результат Mono.Debugger.TargetAddress

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

public GetMemoryMaps ( ) : Mono.Debugger.TargetMemoryArea[]
Результат Mono.Debugger.TargetMemoryArea[]

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

protected GetMethods ( SourceFile file ) : MethodSource[]
file Mono.Debugger.SourceFile
Результат MethodSource[]

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

public GetReader ( TargetAddress address ) : TargetReader
address Mono.Debugger.TargetAddress
Результат TargetReader

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

public GetReader ( TargetAddress address, bool may_fail ) : TargetReader
address Mono.Debugger.TargetAddress
may_fail bool
Результат TargetReader

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

public GetSectionAddress ( string name ) : TargetAddress
name string
Результат Mono.Debugger.TargetAddress

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

public GetSectionContents ( string name ) : byte[]
name string
Результат byte[]

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

public GetSectionReader ( string name ) : TargetReader
name string
Результат TargetReader

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

protected GetSimpleSymbols ( ) : ArrayList
Результат System.Collections.ArrayList

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

public HasSection ( string name ) : bool
name string
Результат bool

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

public LookupLocalSymbol ( string name ) : TargetAddress
name string
Результат Mono.Debugger.TargetAddress

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

public LookupSymbol ( string name ) : TargetAddress
name string
Результат Mono.Debugger.TargetAddress

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

protected OnModuleChanged ( ) : void
Результат void

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

public OpenCoreFile ( string core_file ) : Bfd
core_file string
Результат Bfd

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

public ReadTypes ( ) : void
Результат void

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

protected SimpleLookup ( TargetAddress address, bool exact_match ) : Symbol
address Mono.Debugger.TargetAddress
exact_match bool
Результат Mono.Debugger.Symbol

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

protected UnwindStack ( StackFrame frame, TargetMemoryAccess memory ) : StackFrame
frame Mono.Debugger.StackFrame
memory Mono.Debugger.TargetMemoryAccess
Результат Mono.Debugger.StackFrame

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

protected create_frame_reader ( ) : void
Результат void

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

protected load_dwarf ( ) : void
Результат void

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

protected load_frames ( ) : void
Результат void

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

protected read_bfd_symbols ( ) : void
Результат void

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

protected read_sections ( ) : void
Результат void

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

protected unload_dwarf ( ) : void
Результат void

Описание свойств

info защищенное свойство

protected TargetMemoryInfo,Mono.Debugger info
Результат Mono.Debugger.TargetMemoryInfo

module защищенное свойство

protected Module,Mono.Debugger module
Результат Mono.Debugger.Module

os защищенное свойство

protected OperatingSystemBackend,Mono.Debugger.Backend os
Результат OperatingSystemBackend

symfile защищенное свойство

protected BfdSymbolFile symfile
Результат BfdSymbolFile