bdk: ianos: restructure for future expansion

This commit is contained in:
CTCaer
2026-01-29 08:58:19 +02:00
parent 1edb18a217
commit 2014a72774
6 changed files with 131 additions and 80 deletions

View File

@@ -21,7 +21,7 @@
el_status el_pread(el_ctx *ctx, void *def, size_t nb, size_t offset)
{
return ctx->pread(ctx, def, nb, offset) ? EL_OK : EL_EIO;
return ctx->pread(ctx, def, nb, offset);
}
#define EL_PHOFF(ctx, num) (((ctx)->ehdr.e_phoff + (num) *(ctx)->ehdr.e_phentsize))