summaryrefslogtreecommitdiff
path: root/lib/elf.h
blob: 6f592afdaad4b91dc0fa45db37ac25d45f9f63b3 (plain)
1
2
3
4
5
6
7
8
#pragma once

#include<string.h>
#include<stdbool.h>
#include<stdint.h>

void load_elf(char *filename, bool *is32bit_p, uint64_t *entry);
int  lookup_sym(const char *filename, const char *symname, uint64_t *value);