mirror of
https://github.com/radareorg/quickjs.git
synced 2026-11-07 06:25:57 -10:00
Otherwise recursive calls keep going until they trip ASan checks. Remove the `__ASAN__` and `__UBSAN__` defines; no longer necessary. Remove `globalThis.__running_with_sanitizer__` from qjs; likewise. Fixes: https://github.com/quickjs-ng/quickjs/issues/671 Fixes: https://github.com/quickjs-ng/quickjs/issues/775 Fixes: https://github.com/quickjs-ng/quickjs/issues/776
8 lines
123 B
JavaScript
8 lines
123 B
JavaScript
/*---
|
|
negative:
|
|
phase: runtime
|
|
type: RangeError
|
|
---*/
|
|
function f() { f.apply(null) } // was problematic under ASan
|
|
f()
|