Explore
/
Sign In
/
Unknown
Unknown
Fork
Star
Artifacts
binary
types-and-globals.h
0 lines
|
132.78 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(19) struct_1 { uint8_t padding_at_0[19]; }; 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(52) struct_3 { uint8_t padding_at_0[52]; }; typedef struct _PACKED struct_4 struct_4; struct _PACKED _SIZE(32) struct_4 { uint8_t padding_at_0[32]; }; typedef struct _PACKED struct_5 struct_5; struct _PACKED _SIZE(32) struct_5 { uint8_t padding_at_0[32]; }; typedef struct _PACKED struct_6 struct_6; struct _PACKED _SIZE(208) struct_6 { uint8_t padding_at_0[208]; }; typedef struct _PACKED struct_7 struct_7; struct _PACKED _SIZE(179) struct_7 { uint8_t padding_at_0[179]; }; typedef struct _PACKED struct_8 struct_8; struct _PACKED _SIZE(26) struct_8 { uint8_t padding_at_0[26]; }; typedef struct _PACKED struct_9 struct_9; struct _PACKED _SIZE(48) struct_9 { uint8_t padding_at_0[48]; }; typedef struct _PACKED struct_10 struct_10; struct _PACKED _SIZE(24) struct_10 { uint8_t padding_at_0[24]; }; typedef struct _PACKED struct_11 struct_11; struct _PACKED _SIZE(64) struct_11 { uint8_t padding_at_0[64]; }; struct _PACKED _SIZE(1160) struct_0 { uint8_t padding_at_0[436]; struct_1 interp _STARTS_AT(436); uint8_t padding_at_455[1]; struct_2 offset_456; struct_3 note_gnu_property _STARTS_AT(492); struct_4 offset_544; struct_5 gnu_hash _STARTS_AT(576); struct_6 dynsym _STARTS_AT(608); struct_7 dynstr _STARTS_AT(816); uint8_t padding_at_995[1]; struct_8 gnu_version _STARTS_AT(996); uint8_t padding_at_1022[2]; struct_9 gnu_version_r _STARTS_AT(1024); struct_10 rel_dyn _STARTS_AT(1072); struct_11 rel_plt _STARTS_AT(1096); }; typedef struct _PACKED struct_12 struct_12; 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(144) struct_14 { uint8_t padding_at_0[144]; }; typedef struct _PACKED struct_15 struct_15; struct _PACKED _CAN_CONTAIN_CODE _SIZE(876) struct_15 { uint8_t padding_at_0[876]; }; typedef struct _PACKED struct_16 struct_16; struct _PACKED _CAN_CONTAIN_CODE _SIZE(20) struct_16 { uint8_t padding_at_0[20]; }; struct _PACKED _CAN_CONTAIN_CODE _SIZE(1072) struct_12 { struct_13 init _STARTS_AT(0); struct_14 plt _STARTS_AT(32); struct_15 text _STARTS_AT(176); struct_16 fini _STARTS_AT(1052); }; typedef struct _PACKED struct_17 struct_17; typedef struct _PACKED struct_18 struct_18; struct _PACKED _SIZE(400) struct_18 { generic32_t _fp_hw _STARTS_AT(0); generic32_t _IO_stdin_used _STARTS_AT(4); uint8_t padding_at_8[22]; generic8_t offset_30[11]; generic8_t offset_41[6]; uint8_t padding_at_47[13]; generic8_t offset_60[15]; uint8_t padding_at_75[137]; generic8_t offset_212[35]; generic8_t offset_247[30]; uint8_t padding_at_277[3]; generic8_t offset_280[31]; generic8_t offset_311[15]; generic8_t offset_326[16]; generic8_t offset_342[21]; generic8_t offset_363[11]; uint8_t padding_at_374[10]; generic8_t offset_384; uint8_t padding_at_385[7]; generic8_t offset_392; uint8_t padding_at_393[7]; }; typedef struct _PACKED struct_19 struct_19; struct _PACKED _SIZE(60) struct_19 { uint8_t padding_at_0[60]; }; typedef struct _PACKED struct_20 struct_20; struct _PACKED _SIZE(244) struct_20 { uint8_t padding_at_0[244]; }; struct _PACKED _SIZE(704) struct_17 { struct_18 rodata _STARTS_AT(0); struct_19 eh_frame_hdr _STARTS_AT(400); struct_20 eh_frame _STARTS_AT(460); }; typedef struct _PACKED struct_21 struct_21; typedef struct _PACKED struct_22 struct_22; struct _PACKED _SIZE(4) struct_22 { uint8_t padding_at_0[4]; }; typedef struct _PACKED struct_23 struct_23; struct _PACKED _SIZE(4) struct_23 { uint8_t padding_at_0[4]; }; typedef struct _PACKED struct_24 struct_24; struct _PACKED _SIZE(232) struct_24 { uint8_t padding_at_0[232]; }; typedef struct _PACKED struct_25 struct_25; struct _PACKED _SIZE(12) struct_25 { uint8_t padding_at_0[12]; }; typedef struct _PACKED struct_26 struct_26; struct _PACKED _SIZE(44) struct_26 { uint8_t padding_at_0[44]; }; typedef struct _PACKED struct_27 struct_27; struct _PACKED _SIZE(12) struct_27 { uint8_t padding_at_0[8]; generic32_t UNUSED _STARTS_AT(8); }; typedef struct _PACKED struct_28 struct_28; struct _PACKED _SIZE(4) struct_28 { generic8_t offset_0; uint8_t padding_at_1[3]; }; struct _PACKED _SIZE(312) struct_21 { struct_22 init_array _STARTS_AT(0); struct_23 fini_array _STARTS_AT(4); struct_24 dynamic _STARTS_AT(8); struct_25 got _STARTS_AT(240); struct_26 got_plt _STARTS_AT(252); struct_27 data _STARTS_AT(296); struct_28 bss _STARTS_AT(308); }; typedef struct _PACKED artificial_struct_returned_by_rawfunction_29 artificial_struct_returned_by_rawfunction_29; typedef _ABI(raw_x86) artificial_struct_returned_by_rawfunction_29 rawfunction_29(void); typedef _ABI(SystemV_x86) int32_t cabifunction_30(pointer32_t(const int8_t) , pointer32_t(const int8_t) ); typedef _ABI(SystemV_x86) void cabifunction_31(int32_t); typedef _ABI(SystemV_x86) pointer32_t(int8_t) cabifunction_32(pointer32_t(const int8_t) , pointer32_t(const int8_t) ); typedef _ABI(SystemV_x86) pointer32_t(int8_t) cabifunction_33(pointer32_t(int8_t) , pointer32_t(const int8_t) , uint32_t); typedef _ABI(SystemV_x86) int32_t cabifunction_34(pointer32_t(const int8_t) ); typedef _ABI(SystemV_x86) uint32_t cabifunction_35(uint32_t); typedef _ABI(SystemV_x86) int32_t cabifunction_36(int32_t, pointer32_t(pointer32_t(int8_t) ) ); typedef _ABI(SystemV_x86) int32_t cabifunction_37(pointer32_t(int8_t) , uint8_t); typedef _ABI(SystemV_x86) void cabifunction_38(void); typedef struct _PACKED struct_59 struct_59; struct _PACKED _SIZE(12) struct_59 { uint8_t padding_at_0[12]; }; typedef struct _PACKED struct_60 struct_60; struct _PACKED _SIZE(28) struct_60 { uint8_t padding_at_0[4]; generic32_t offset_4; generic32_t offset_8; generic32_t offset_12; generic32_t offset_16; uint8_t padding_at_20[4]; pointer32_t(generic32_t) offset_24; }; typedef struct _PACKED struct_61 struct_61; struct _PACKED _SIZE(12) struct_61 { uint8_t padding_at_0[12]; }; typedef struct _PACKED struct_62 struct_62; struct _PACKED _SIZE(28) struct_62 { pointer32_t(generic8_t) offset_0; uint8_t padding_at_4[24]; }; typedef struct _PACKED struct_63 struct_63; typedef union _PACKED union_77 union_77; union _PACKED union_77 { generic8_t member_0; pointer32_t(generic8_t) member_1; }; typedef union _PACKED union_69 union_69; typedef struct _PACKED struct_79 struct_79; struct _PACKED _SIZE(8) struct_79 { uint8_t padding_at_0[4]; generic32_t offset_4; }; typedef struct _PACKED struct_80 struct_80; struct _PACKED _SIZE(11) struct_80 { uint8_t padding_at_0[7]; generic32_t offset_7; }; union _PACKED union_69 { generic64_t member_0; struct_79 member_1; struct_80 member_2; }; struct _PACKED _SIZE(92) struct_63 { pointer32_t(generic64_t) offset_0; pointer32_t(union_77) offset_4; generic32_t offset_8; uint8_t padding_at_12[16]; generic8_t offset_28; uint8_t padding_at_29[3]; generic64_t offset_32; generic64_t offset_40; generic32_t offset_48; union_77 offset_52; uint8_t padding_at_56[1]; union_69 offset_57; generic32_t offset_68; generic32_t offset_72; generic32_t offset_76; uint8_t padding_at_80[12]; }; typedef struct _PACKED struct_64 struct_64; struct _PACKED _SIZE(48) struct_64 { pointer32_t(generic8_t) offset_0; pointer32_t(generic8_t) offset_4; uint8_t padding_at_8[23]; generic8_t offset_31; generic32_t offset_32; uint8_t padding_at_36[8]; generic32_t offset_44; }; typedef struct _PACKED struct_65 struct_65; struct _PACKED _SIZE(12) struct_65 { uint8_t padding_at_0[12]; }; typedef _ABI(SystemV_x86) void cabifunction_81(void); typedef _ABI(SystemV_x86) void cabifunction_90(void); typedef _ABI(SystemV_x86) void cabifunction_91(void); typedef _ABI(SystemV_x86) void cabifunction_92(void); typedef _ABI(SystemV_x86) void cabifunction_93(void); typedef _ABI(SystemV_x86) void cabifunction_94(void); typedef _ABI(SystemV_x86) void cabifunction_95(void); typedef _ABI(SystemV_x86) void cabifunction_96(void); typedef _ABI(SystemV_x86) void cabifunction_97(void); typedef _ABI(SystemV_x86) void cabifunction_98(void); typedef _ABI(SystemV_x86) void cabifunction_99(void); typedef _ABI(SystemV_x86) void cabifunction_100(void); struct _PACKED artificial_struct_returned_by_rawfunction_29 { pointer_or_number32_t register_eax; pointer_or_number32_t register_edx; }; // \} // \defgroup Functions // \{ _ABI(SystemV_x86) void _init(void); _ABI(SystemV_x86) pointer32_t(int8_t) strstr_2(pointer32_t(const int8_t) argument_0, pointer32_t(const int8_t) argument_1); _ABI(SystemV_x86) int32_t strcmp_2(pointer32_t(const int8_t) argument_0, pointer32_t(const int8_t) argument_1); _ABI(raw_x86) artificial_struct_returned_by_rawfunction_29 __libc_start_main_2(void); _ABI(SystemV_x86) int32_t printf_2(pointer32_t(const int8_t) argument_0); _ABI(SystemV_x86) uint32_t sleep_2(uint32_t argument_0); _ABI(raw_x86) artificial_struct_returned_by_rawfunction_29 puts_2(void); _ABI(SystemV_x86) _Noreturn void exit_2(int32_t argument_0); _ABI(SystemV_x86) pointer32_t(int8_t) strncpy_2(pointer32_t(int8_t) argument_0, pointer32_t(const int8_t) argument_1, uint32_t argument_2); _ABI(SystemV_x86) _Noreturn void _start(void); _ABI(SystemV_x86) void function_0x80490d9_Code_x86(void); _ABI(SystemV_x86) void _dl_relocate_static_pie(void); _ABI(SystemV_x86) void function_0x8049100_Code_x86(void); _ABI(SystemV_x86) void function_0x8049110_Code_x86(void); _ABI(SystemV_x86) void function_0x8049190_Code_x86(void); _ABI(SystemV_x86) void function_0x80491c0_Code_x86(void); _ABI(SystemV_x86) void backdoor(void); _ABI(SystemV_x86) int32_t f(pointer32_t(int8_t) arg1, uint8_t is_shellcode); _ABI(SystemV_x86) int32_t main(int32_t argc, pointer32_t(pointer32_t(int8_t) ) argv); _ABI(SystemV_x86) void _fini(void); // \} // \defgroup Imported dynamic functions // \{ _ABI(raw_x86) artificial_struct_returned_by_rawfunction_29 __libc_start_main(void); _ABI(SystemV_x86) _Noreturn void exit(int32_t argument_0); _ABI(SystemV_x86) int32_t printf(pointer32_t(const int8_t) argument_0); _ABI(raw_x86) artificial_struct_returned_by_rawfunction_29 puts(void); _ABI(SystemV_x86) uint32_t sleep(uint32_t argument_0); _ABI(SystemV_x86) int32_t strcmp(pointer32_t(const int8_t) argument_0, pointer32_t(const int8_t) argument_1); _ABI(SystemV_x86) pointer32_t(int8_t) strncpy(pointer32_t(int8_t) argument_0, pointer32_t(const int8_t) argument_1, uint32_t argument_2); _ABI(SystemV_x86) pointer32_t(int8_t) strstr(pointer32_t(const int8_t) argument_0, pointer32_t(const int8_t) argument_1); // \} // /// \defgroup Segments // /// \{ struct_0 segment_0; struct_12 segment_1; struct_17 segment_2; struct_21 segment_3; // \}
Loading...