Binary Raw - Docs
    Preparing search index...

    Interface SectionNode

    Represents a node in the hierarchical structure of a parsed binary file. Sections can be nested (parent-child relationship) and contain metadata.

    interface SectionNode {
        children: readonly SectionNode[];
        flags: { executable: boolean; readable: boolean; writable: boolean };
        id: string;
        metadata: Record<string, unknown>;
        name: string;
        parent: string | undefined;
        range: ByteRange;
        type: SectionType;
        virtualAddr: VirtualAddress | undefined;
    }
    Index

    Properties

    children: readonly SectionNode[]

    Child sections (nested within this section).

    flags: { executable: boolean; readable: boolean; writable: boolean }

    Access control flags for this section.

    Type Declaration

    • Readonlyexecutable: boolean

      Whether the section is executable.

    • Readonlyreadable: boolean

      Whether the section is readable.

    • Readonlywritable: boolean

      Whether the section is writable.

    id: string

    Unique identifier for this section.

    metadata: Record<string, unknown>

    Additional format-specific metadata.

    name: string

    Human-readable name of the section.

    parent: string | undefined

    ID of the parent section, if any.

    range: ByteRange

    The byte range this section occupies in the file.

    The type/category of this section.

    virtualAddr: VirtualAddress | undefined

    Virtual memory address (if applicable, e.g., in ELF/PE).