toElf32
Convert GELF file header to ELF32 file header.
Parameters
ghdr | The GELF header to convert. |
Returns
The equivalent ELF32 header.
Throws
Exception if values don't fit in 32-bit.
Convert GELF section header to ELF32 section header.
Parameters
gshdr | The GELF section header to convert. |
Returns
The equivalent ELF32 section header.
Throws
Exception if values don't fit in 32-bit.
Convert GELF program header to ELF32 program header.
Parameters
gphdr | The GELF program header to convert. |
Returns
The equivalent ELF32 program header.
Throws
Exception if values don't fit in 32-bit.
Convert GELF symbol to ELF32 symbol.
Parameters
gsym | The GELF symbol to convert. |
Returns
The equivalent ELF32 symbol.
Throws
Exception if values don't fit in 32-bit.
Convert GELF relocation to ELF32 relocation.
Parameters
grel | The GELF relocation to convert. |
Returns
The equivalent ELF32 relocation.
Throws
Exception if values don't fit in 32-bit.
Convert GELF relocation with addend to ELF32 relocation with addend.
Parameters
grela | The GELF relocation with addend to convert. |
Returns
The equivalent ELF32 relocation with addend.
Throws
Exception if values don't fit in 32-bit.
Convert GELF dynamic entry to ELF32 dynamic entry.
Parameters
gdyn | The GELF dynamic entry to convert. |
Returns
The equivalent ELF32 dynamic entry.
Throws
Exception if values don't fit in 32-bit.