C# Class Iaik.Utils.libbfd.libbfd_native

Contains the native pinvokes for the libbfd
Afficher le fichier Open project: areiter/InMemoryFuzzing

Méthodes publiques

Méthode Description
GetFormattedLastError ( ) : string
GetSectionSize ( IntPtr bfdSection ) : System.UInt64

Creates a temporary BfdSection struct and returns the size of the section

GetTargetList ( ) : string[]

Gets a list of all supported targets

Private Methods

Méthode Description
ByteArrayToUInt64 ( byte data, int offset, int length ) : System.UInt64

Decodes the number encoded in data as a little endian number

bfd_check_format ( IntPtr abfd, FILEFORMAT format ) : int
bfd_check_format_matches ( IntPtr abfd, FILEFORMAT format, IntPtr &matching ) : int
bfd_close ( IntPtr abfd ) : int
bfd_errmsg ( int error ) : IntPtr
bfd_get_error ( ) : int
bfd_get_section_by_name ( IntPtr abfd, string sectionName ) : IntPtr
bfd_get_section_contents ( IntPtr abfd, IntPtr section, byte buffer, System.UInt64 offset, System.UInt64 length ) : bool
bfd_openr ( string filename, string target ) : IntPtr
bfd_set_format ( IntPtr abfd, FILEFORMAT fileformat ) : int
bfd_target_list ( ) : IntPtr

Method Details

GetFormattedLastError() public static méthode

public static GetFormattedLastError ( ) : string
Résultat string

GetSectionSize() public static méthode

Creates a temporary BfdSection struct and returns the size of the section
public static GetSectionSize ( IntPtr bfdSection ) : System.UInt64
bfdSection System.IntPtr
Résultat System.UInt64

GetTargetList() public static méthode

Gets a list of all supported targets
public static GetTargetList ( ) : string[]
Résultat string[]