Skip to content

Commit

Permalink
add missing offset assert
Browse files Browse the repository at this point in the history
  • Loading branch information
smx-smx committed Apr 5, 2024
1 parent f37d8b3 commit 24b4f1f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xzre.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ typedef struct __attribute__((packed)) {
elf_entry_ctx_t *entry_ctx;
} backdoor_setup_params_t;

assert_offset(backdoor_setup_params_t, entry_ctx, 0x80);
static_assert(sizeof(backdoor_setup_params_t) == 0x88);

typedef struct __attribute__((packed)) {
Expand Down

0 comments on commit 24b4f1f

Please sign in to comment.