Re: ***UNCHECKED*** [PATCH mig] Update code generation to handle the new 64 bit ABI

2023-09-25 Thread Samuel Thibault
Applied, thanks! Flavio Cruz, le mar. 16 mai 2023 23:04:18 -0400, a ecrit: > Mostly, we don't set the fields that do not exist and avoid type > mismatching (like casting unsigned short to unsigned char for > msgt_name). > > We also revamp type checking to compare mach_msg_type_t to uint64_t > ins

[PATCH mig] Update code generation to handle the new 64 bit ABI

2023-05-16 Thread Flavio Cruz
Mostly, we don't set the fields that do not exist and avoid type mismatching (like casting unsigned short to unsigned char for msgt_name). We also revamp type checking to compare mach_msg_type_t to uint64_t instead of just uint32_t as we now use the whole structure. --- global.h | 2 ++ utils.c