toElf64

fnelf64.FileHeader toElf64(ref const FileHeader ghdr) pure @safe

Convert GELF file header to ELF64 file header.

Parameters

ghdrThe GELF header to convert.

Returns

The equivalent ELF64 header.
fnelf64.SectionHeader toElf64(ref const SectionHeader gshdr) pure @safe

Convert GELF section header to ELF64 section header.

Parameters

gshdrThe GELF section header to convert.

Returns

The equivalent ELF64 section header.
fnelf64.ProgramHeader toElf64(ref const ProgramHeader gphdr) pure @safe

Convert GELF program header to ELF64 program header.

Parameters

gphdrThe GELF program header to convert.

Returns

The equivalent ELF64 program header.
fnelf64.SymbolTableEntry toElf64(ref const SymbolTableEntry gsym) pure @safe

Convert GELF symbol to ELF64 symbol.

Parameters

gsymThe GELF symbol to convert.

Returns

The equivalent ELF64 symbol.
fnelf64.Relocation toElf64(ref const Relocation grel) pure @safe

Convert GELF relocation to ELF64 relocation.

Parameters

grelThe GELF relocation to convert.

Returns

The equivalent ELF64 relocation.
fnelf64.RelocationWithAddend toElf64(ref const RelocationWithAddend grela) pure @safe

Convert GELF relocation with addend to ELF64 relocation with addend.

Parameters

grelaThe GELF relocation with addend to convert.

Returns

The equivalent ELF64 relocation with addend.
fnelf64.DynamicEntry toElf64(ref const DynamicEntry gdyn) pure @safe

Convert GELF dynamic entry to ELF64 dynamic entry.

Parameters

gdynThe GELF dynamic entry to convert.

Returns

The equivalent ELF64 dynamic entry.