Ask questionsUndefinedBehaviorSanitizer: undefined-behavior
Integration Method: Manual
Xcode Version: Version 10.3 (10G8)
Library Version: v3.4.5
When enabling the
UndefinedBehaviorSanitizer i can see the following issue popping up
/Project/Mixpanel/MPTweakInline.m:21:60: runtime error: load of null pointer of type 'char *' SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /Project/Mixpanel/MPTweakInline.m:21:60 in (lldb)
We use the
MPTweakValue like this
I would expect either the encoding to be set, or the null pointer to be handled properly. With this setup i cannot run the
UndefinedBehaviorSanitizer because mixpanel at the very start is already blocking it.
Answer questions mlostekk
@zihejia did you have a change to look into?