Explore
/
Sign In
/
Unknown
Unknown
Fork
Star
Artifacts
binary
types-and-globals.h
0 lines
|
86.2 KB
#pragma once #include <stdint.h> #include <stdbool.h> #include "primitive-types.h" #include "attributes.h" #ifndef NULL #define NULL (0) #endif // \defgroup Type definitions // \{ typedef struct _PACKED struct_0 struct_0; typedef struct _PACKED struct_1 struct_1; struct _PACKED _SIZE(64) struct_1 { uint8_t padding_at_0[64]; }; typedef struct _PACKED struct_2 struct_2; struct _PACKED _SIZE(36) struct_2 { uint8_t padding_at_0[36]; }; typedef struct _PACKED struct_3 struct_3; struct _PACKED _SIZE(28) struct_3 { uint8_t padding_at_0[28]; }; typedef struct _PACKED struct_4 struct_4; struct _PACKED _SIZE(28) struct_4 { uint8_t padding_at_0[28]; }; typedef struct _PACKED struct_5 struct_5; struct _PACKED _SIZE(168) struct_5 { uint8_t padding_at_0[168]; }; typedef struct _PACKED struct_6 struct_6; struct _PACKED _SIZE(163) struct_6 { uint8_t padding_at_0[163]; }; typedef struct _PACKED struct_7 struct_7; struct _PACKED _SIZE(14) struct_7 { uint8_t padding_at_0[14]; }; typedef struct _PACKED struct_8 struct_8; struct _PACKED _SIZE(64) struct_8 { uint8_t padding_at_0[64]; }; typedef struct _PACKED struct_9 struct_9; struct _PACKED _SIZE(192) struct_9 { uint8_t padding_at_0[192]; }; typedef struct _PACKED struct_10 struct_10; struct _PACKED _SIZE(24) struct_10 { uint8_t padding_at_0[24]; }; struct _PACKED _SIZE(1640) struct_0 { uint8_t padding_at_0[848]; struct_1 note_gnu_property _STARTS_AT(848); struct_2 offset_912; struct_3 interp _STARTS_AT(948); struct_4 gnu_hash _STARTS_AT(976); uint8_t padding_at_1004[4]; struct_5 dynsym _STARTS_AT(1008); struct_6 dynstr _STARTS_AT(1176); uint8_t padding_at_1339[1]; struct_7 gnu_version _STARTS_AT(1340); uint8_t padding_at_1354[6]; struct_8 gnu_version_r _STARTS_AT(1360); struct_9 rela_dyn _STARTS_AT(1424); struct_10 rela_plt _STARTS_AT(1616); }; typedef struct _PACKED struct_11 struct_11; typedef struct _PACKED struct_12 struct_12; struct _PACKED _CAN_CONTAIN_CODE _SIZE(27) struct_12 { uint8_t padding_at_0[27]; }; typedef struct _PACKED struct_13 struct_13; struct _PACKED _CAN_CONTAIN_CODE _SIZE(32) struct_13 { uint8_t padding_at_0[32]; }; typedef struct _PACKED struct_14 struct_14; struct _PACKED _CAN_CONTAIN_CODE _SIZE(345) struct_14 { uint8_t padding_at_0[345]; }; typedef struct _PACKED struct_15 struct_15; struct _PACKED _CAN_CONTAIN_CODE _SIZE(13) struct_15 { uint8_t padding_at_0[13]; }; struct _PACKED _CAN_CONTAIN_CODE _SIZE(425) struct_11 { struct_12 init _STARTS_AT(0); uint8_t padding_at_27[5]; struct_13 plt _STARTS_AT(32); struct_14 text _STARTS_AT(64); uint8_t padding_at_409[3]; struct_15 fini _STARTS_AT(412); }; typedef struct _PACKED struct_16 struct_16; typedef struct _PACKED struct_17 struct_17; struct _PACKED _SIZE(4) struct_17 { generic32_t _IO_stdin_used _STARTS_AT(0); }; typedef struct _PACKED struct_18 struct_18; struct _PACKED _SIZE(36) struct_18 { uint8_t padding_at_0[36]; }; typedef struct _PACKED struct_19 struct_19; struct _PACKED _SIZE(124) struct_19 { uint8_t padding_at_0[124]; }; typedef struct _PACKED struct_20 struct_20; struct _PACKED _SIZE(32) struct_20 { uint8_t padding_at_0[32]; }; struct _PACKED _SIZE(196) struct_16 { struct_17 rodata _STARTS_AT(0); struct_18 eh_frame_hdr _STARTS_AT(4); struct_19 eh_frame _STARTS_AT(40); struct_20 offset_164; }; typedef struct _PACKED struct_21 struct_21; typedef struct _PACKED struct_22 struct_22; struct _PACKED _SIZE(8) struct_22 { uint8_t padding_at_0[8]; }; typedef struct _PACKED struct_23 struct_23; struct _PACKED _SIZE(8) struct_23 { uint8_t padding_at_0[8]; }; typedef struct _PACKED struct_24 struct_24; struct _PACKED _SIZE(480) struct_24 { uint8_t padding_at_0[480]; }; typedef struct _PACKED struct_25 struct_25; struct _PACKED _SIZE(40) struct_25 { uint8_t padding_at_0[16]; generic64_t offset_16; uint8_t padding_at_24[16]; }; typedef struct _PACKED struct_26 struct_26; struct _PACKED _SIZE(32) struct_26 { uint8_t padding_at_0[32]; }; typedef struct _PACKED struct_27 struct_27; struct _PACKED _SIZE(16) struct_27 { uint8_t padding_at_0[16]; }; typedef struct _PACKED struct_28 struct_28; struct _PACKED _SIZE(8) struct_28 { uint8_t padding_at_0[8]; }; struct _PACKED _SIZE(592) struct_21 { struct_22 init_array _STARTS_AT(0); struct_23 fini_array _STARTS_AT(8); struct_24 dynamic _STARTS_AT(16); struct_25 got _STARTS_AT(496); struct_26 got_plt _STARTS_AT(536); struct_27 data _STARTS_AT(568); struct_28 bss _STARTS_AT(584); }; typedef struct _PACKED artificial_struct_returned_by_rawfunction_29 artificial_struct_returned_by_rawfunction_29; typedef _ABI(raw_x86_64) artificial_struct_returned_by_rawfunction_29 rawfunction_29(pointer_or_number64_t _REG(rcx_x86_64), pointer_or_number64_t _REG(rdx_x86_64), pointer_or_number64_t _REG(rsi_x86_64), pointer_or_number64_t _REG(rdi_x86_64), pointer_or_number64_t _REG(r8_x86_64), pointer_or_number64_t _REG(r9_x86_64)); typedef _ABI(SystemV_x86_64) void cabifunction_30(void *); typedef _ABI(SystemV_x86_64) void cabifunction_31(void); typedef _ABI(SystemV_x86_64) int32_t cabifunction_32(int32_t, int8_t **, int8_t **); typedef _ABI(SystemV_x86_64) int32_t cabifunction_33(cabifunction_32 *, int32_t, int8_t **, cabifunction_32 *, cabifunction_31 *, cabifunction_31 *, void *); typedef _ABI(SystemV_x86_64) void cabifunction_34(void); typedef struct _PACKED struct_41 struct_41; struct _PACKED _SIZE(8) struct_41 { uint8_t padding_at_0[8]; }; typedef struct _PACKED struct_42 struct_42; struct _PACKED _SIZE(88) struct_42 { uint8_t padding_at_0[8]; generic8_t *offset_8; generic8_t offset_16; generic8_t offset_17; generic8_t offset_18; generic8_t offset_19; generic8_t offset_20; uint8_t padding_at_21[47]; generic32_t offset_68; generic64_t offset_72; uint8_t padding_at_80[8]; }; typedef struct _PACKED struct_45 struct_45; struct _PACKED _SIZE(8) struct_45 { uint8_t padding_at_0[8]; }; typedef _ABI(SystemV_x86_64) void cabifunction_52(void); typedef _ABI(SystemV_x86_64) void cabifunction_54(generic64_t, generic64_t, struct_45 *); typedef struct _PACKED struct_55 struct_55; struct _PACKED _SIZE(16) struct_55 { generic64_t offset_0; generic64_t offset_8; }; typedef _ABI(SystemV_x86_64) struct_55 cabifunction_56(void); typedef _ABI(SystemV_x86_64) void cabifunction_57(void); typedef _ABI(SystemV_x86_64) void cabifunction_58(void); struct _PACKED artificial_struct_returned_by_rawfunction_29 { pointer_or_number64_t register_rax; pointer_or_number64_t register_rdx; }; // \} // \defgroup Functions // \{ _ABI(SystemV_x86_64) void _init(void); _ABI(SystemV_x86_64) _Noreturn void __stack_chk_fail_2(void); _ABI(SystemV_x86_64) _Noreturn void _start(generic64_t argument_0, generic64_t argument_1, struct_45 *argument_2); _ABI(SystemV_x86_64) struct_55 main(void); _ABI(SystemV_x86_64) void _fini(void); // \} // \defgroup Imported dynamic functions // \{ _ABI(SystemV_x86_64) void __cxa_finalize(void *d); _ABI(SystemV_x86_64) _Noreturn int32_t __libc_start_main(cabifunction_32 *main_2, int32_t argc, int8_t **argv, cabifunction_32 *init_2, cabifunction_31 *fini, cabifunction_31 *rtld_fini, void *stack_end); _ABI(SystemV_x86_64) _Noreturn void __stack_chk_fail(void); // \} // /// \defgroup Segments // /// \{ struct_0 segment_0; struct_11 segment_1; struct_16 segment_2; struct_21 segment_3; // \}
Loading...