Verible is a suite of SystemVerilog developer tools, including a parser, style-linter, formatter and language server
1.38k
stars
214
forks
source link
invalid memory access in tree_unwrapper.cc (kConditionalStatement) #220
Closed
fangism closed 4 years ago
The logic in the handling of else-if partitions is buggy.
This test case:
is triggering AddressSanitizer bugs here:
https://github.com/google/verible/blob/64a4e8f0a448a93ee845442ff7074402820fac08/verilog/formatting/tree_unwrapper.cc#L1070
When the token range is empty(), which happens during the
ApplyPreOrder
traversal.I'll take this one.