We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a8bc69 commit 65a5c51Copy full SHA for 65a5c51
test/test_core.py
@@ -8741,15 +8741,11 @@ def test_ubsan_full_null_ref(self, args):
8741
".cpp:5:14: runtime error: reference binding to null pointer of type 'int'",
8742
])
8743
8744
- @parameterized({
8745
- 'fsanitize_undefined': (['-fsanitize=undefined'],),
8746
- 'fsanitize_vptr': (['-fsanitize=vptr'],),
8747
- })
8748
@no_wasm2js('TODO: sanitizers in wasm2js')
8749
- def test_ubsan_full_static_cast(self, args):
8750
- self.emcc_args += args
+ def test_ubsan_full_static_cast(self):
8751
self.do_runf(
8752
'core/test_ubsan_full_static_cast.cpp',
+ emcc_args=['-fsanitize=vptr'],
8753
assert_all=True,
8754
expected_output=[
8755
".cpp:18:10: runtime error: downcast of address",
0 commit comments