Skip to content

Commit

Permalink
elf: add missing new header
Browse files Browse the repository at this point in the history
  • Loading branch information
bapt committed Nov 21, 2024
1 parent aca44db commit 97bb391
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions libpkg/private/binfmt.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#pragma once

int pkg_get_myarch_elfparse(int fd, struct os_info *oi);
int pkg_analyse_init_elf(const char* stage);
int pkg_analyse_elf(const bool developer_mode, struct pkg *pkg, const char *fpath);
int pkg_analyse_close_elf();

int pkg_get_myarch_macho(int fd, struct os_info *oi);
int pkg_analyse_init_macho(const char* stage);
int pkg_analyse_macho(const bool developer_mode, struct pkg *pkg, const char *fpath);
int pkg_analyse_close_macho();

0 comments on commit 97bb391

Please sign in to comment.