mirror of https://github.com/google/oss-fuzz.git
9 lines
324 B
Go
9 lines
324 B
Go
![]() |
package cel
|
||
|
|
||
|
// Create environment for running under Address sanitizer without timing out.
|
||
|
func getCELFuzzEnv() (*Env, error) {
|
||
|
// Very dense expressions (balanced trees) can cause address sanitizer to
|
||
|
// timeout even though they typically fail in under a second uninstrumented.
|
||
|
return NewEnv(ParserRecursionLimit(60))
|
||
|
}
|