There is a hardcoded -1 in stub.cpp. I need to call some function from the RTS to tell me what the correct offset from the info table pointer to the start of the info table struct is.
get_itbl is not appropriate as it works on a closure rather than directly on the misaligned pointer.
There is a hardcoded
-1
instub.cpp
. I need to call some function from the RTS to tell me what the correct offset from the info table pointer to the start of the info table struct is.get_itbl
is not appropriate as it works on a closure rather than directly on the misaligned pointer.