ElfShdr

@Serializable
@SerialName(value = "ElfShdr")
data class ElfShdr : ReadableStructure(source)

Represents the ELF section header structure for both 32-bit and 64-bit formats.

The section header table is an array of these structures, with each entry describing a section in the file. This unified class handles both 32-bit and 64-bit versions of the ELF section header format, using the larger data types to accommodate both formats.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val fields: Map<String, Any>

Get all fields of the structure

Link copied to clipboard

Indicates whether this is a 32-bit or 64-bit ELF file. true for 64-bit, false for 32-bit.

Link copied to clipboard
val name: String? = null

Section name string.

Link copied to clipboard

Section virtual address at execution. For 32-bit ELF files, only the lower 32 bits are meaningful.

Link copied to clipboard

Section alignment. For 32-bit ELF files, only the lower 32 bits are meaningful.

Link copied to clipboard

Entry size if section holds table. For 32-bit ELF files, only the lower 32 bits are meaningful.

Link copied to clipboard

Section flags.

Link copied to clipboard

Additional section information.

Link copied to clipboard

Link to another section.

Link copied to clipboard

Section name, index in string table.

Link copied to clipboard

Section file offset. For 32-bit ELF files, only the lower 32 bits are meaningful.

Link copied to clipboard

Section size in bytes. For 32-bit ELF files, only the lower 32 bits are meaningful.

Link copied to clipboard

Section type.