mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-13 17:51:53 +01:00
23 lines
344 B
C++
23 lines
344 B
C++
#pragma once
|
|
#include "elf.h"
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
struct Section
|
|
{
|
|
elf::SectionHeader header;
|
|
std::string name;
|
|
std::vector<char> data;
|
|
};
|
|
|
|
struct Rpl
|
|
{
|
|
elf::Header header;
|
|
uint32_t fileSize;
|
|
std::vector<Section> sections;
|
|
};
|
|
|
|
uint32_t
|
|
getSectionIndex(const Rpl &rpl,
|
|
const Section §ion);
|