RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
Loading...
Searching...
No Matches
peexe.h
1#ifndef PEEXE_H
2#define PEEXE_H
3
4#include "../common.h"
5#include "../linker/linker.h"
6#include "coff.h"
7#include "mzexe.h"
8
9/* TODO: unimplemented */
10
11namespace Microsoft
12{
17 {
18 public:
19 void ReadFile(Linker::Reader& rd) override;
20 void WriteFile(Linker::Writer& wr) override;
21 /* TODO */
22
23 std::string GetDefaultExtension(Linker::Module& module, std::string filename) override;
24 };
25}
26
27#endif /* PEEXE_H */
The UNIX COFF file format.
Definition coff.h:26
Encodes an object module file as a collection of sections, symbols and relocations.
Definition module.h:20
A helper class, encapsulating functionality needed to import binary data.
Definition reader.h:16
A helper class, encapsulating functionality needed to export binary data.
Definition writer.h:15
Definition mzexe.h:279
Microsoft PE .EXE portable executable file format.
Definition peexe.h:17
std::string GetDefaultExtension(Linker::Module &module, std::string filename) override
Appends a default extension to the filename.
Definition peexe.cc:18
void ReadFile(Linker::Reader &rd) override
Loads file into memory.
Definition peexe.cc:8
void WriteFile(Linker::Writer &wr) override
Stores data in memory to file.
Definition peexe.cc:13