aboutsummaryrefslogtreecommitdiff
path: root/fesvr/elfloader.h
blob: ae4ee78c2b1e818f29cf6f694a0721893e202050 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// See LICENSE for license details.

#ifndef _ELFLOADER_H
#define _ELFLOADER_H

#include "elf.h"
#include <map>
#include <string>

class memif_t;
std::map<std::string, uint64_t> load_elf(const char* fn, memif_t* memif, reg_t* entry, unsigned required_xlen = 0);

#endif