Skip to content

randomstuff/dol2elf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

DOL 2 ELF

Create a ELF executable file from a DOL file.

Usage:

dol2elf foo.dol foo.elf

The generated ELF file is currently a dummy ELF file. It is not meant to be executed but to be read by standard tools which do not groke the DOL format (objdump, gdb, radare2).

Currently what it includes:

  • one ELF segment for each DOL segment;

  • one section for each DOL segment;

  • a .strtab section (section names);

  • a copy of the DOL header in a .dolhdr section.

In fact, the whole DOL file is copied verbatim at the end of the ELF file.

About

Create a ELF executable file from a DOL file

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published