From 5ce3e2991360771bf5ed9b2b8c7228c742e5134b Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sun, 15 Dec 2024 14:15:34 +0100 Subject: [BOX32][WRAPPER] More work on libc wrapping, and some new syscall too --- src/include/myalign32.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'src/include') diff --git a/src/include/myalign32.h b/src/include/myalign32.h index caf2721f..80928b3c 100755 --- a/src/include/myalign32.h +++ b/src/include/myalign32.h @@ -602,5 +602,25 @@ typedef struct my_regex_32_s void convert_regext_to_32(void* d, void* s); void convert_regext_to_64(void* d, void* s); +typedef struct my_ns_msg_32_s { + ptr_t _msg; //const unsigned char *_ + ptr_t _eom; //const unsigned char *_ + uint16_t _id; + uint16_t _flags; + uint16_t _counts[4]; + ptr_t _sections[4];//const unsigned char *_ + uint32_t _sect; + int _rrnum; + ptr_t _msg_ptr; //const unsigned char * +} my_ns_msg_32_t; + +typedef struct my_ns_rr_32_s { + char name[1025]; + uint16_t type; + uint16_t rr_class; + uint32_t ttl; + uint16_t rdlength; + ptr_t rdata; //const unsigned char * +} my_ns_rr_32_t; #endif//__MY_ALIGN32__H_ \ No newline at end of file -- cgit 1.4.1