RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
Loading...
Searching...
No Matches
macho.h
1#ifndef MACHO_H
2#define MACHO_H
3
4#include <sstream>
5#include <vector>
6#include "../common.h"
7#include "../linker/linker.h"
8#include "../linker/module.h"
9#include "../linker/reader.h"
10
11namespace MachO
12{
19 {
20 public:
21 void ReadFile(Linker::Reader& rd) override;
22 void WriteFile(Linker::Writer& wr) override;
23 /* TODO */
24 };
25}
26
27#endif /* MACHO_H */
A helper class to collect sections into segments.
Definition linker.h:19
A class that provides a general interface to setting up generation for a format.
Definition format.h:56
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
Mach/NeXTSTEP/Mac OS X (macOS) file format.
Definition macho.h:19
void ReadFile(Linker::Reader &rd) override
Loads file into memory.
Definition macho.cc:6
void WriteFile(Linker::Writer &wr) override
Stores data in memory to file.
Definition macho.cc:11