3 ms·
A pretty common way to do the offset_of thing is to take a null pointers. Eg: &foo->member where foo is null. sizeof on invalid pointer dereferences is also pr
by asveikau 7y ago
A pretty common way to do the offset_of thing is to take a null pointers. Eg: &foo->member where foo is null.
sizeof on invalid pointer dereferences is also pretty common.