Skip to content

program_section.py

ofrak.core.program_section

NamedProgramSection (ProgramSection) dataclass

A section of a program with a name.

Attributes:

Name Type Description
virtual_address int

The virtual address at the start of the section

size int

The size of the section in bytes

name str

The name of the section

ProgramSection (MemoryRegion) dataclass

A section of a program.

Attributes:

Name Type Description
virtual_address int

The virtual address at the start of the section

size int

The size of the section in bytes

ProgramSegment (MemoryRegion) dataclass

A segment of a program.

Attributes:

Name Type Description
virtual_address int

The virtual address at the start of the segment

size int

The size of the segment in bytes