B2R2


B2R2.FrontEnd.BinFile Namespace

Type/Module Description

BinaryPointer

A pointer to binary, which is used to exclusively point to a portion of a binary, e.g., a section. It holds both the virtual address as well as the file offset.

ELFFileInfo

This class represents an ELF binary file.

FileFormatMismatchException

Raised when an unexpected file format is detected.

FileInfo

FileInfo describes a binary file in a format-agnostic way.

FileType

FileType represents categories for binary files.

FormatDetector

Binary file format detector.

InvalidAddrReadException

Raised when accessing an invalid address of a binary file.

InvalidFileTypeException

Raised when an invalid file type is encountered.

LinkageTableEntry

Linkage table entry object, which basically refers to PLT or IAT.

MachFileInfo

This class represents a Mach-O binary file.

PEFileInfo

This class represents a PE binary file.

Permission

File permission. Each permission corresponds to a bit, and thus, multiple permissions can be OR-ed.

RawFileInfo

This class represents a raw binary file (containing only binary code and data without file format)

Section

A section object defined in a file-format-agnostic way. A Section in B2R2 should be located inside a segment.

SectionKind

Kinds of sections.

Segment

A segment is a block of code/data that is loaded in the real memory at runtime. A segment can contain multiple sections in it.

Symbol

A symbol object defined in a file-format-agnostic way.

SymbolKind

Kinds of a symbol.

TargetKind

Is the symbol used for static target (static link editor) or dynamic target (dynamic linker)?

WasmFileInfo

This class represents a Web Assembly (Wasm Module) binary file.