By default LHSSymbol collector from ASTHelpers may store nullptr value when - assignment lhs is not lvaluedirecty (for example - {x} = 1;) and at another cases. Then it leads to segmentation fault at NoOldAlwaysSyntax checker when stored lhs value is dereferenced.
How to reproduce:
Create an bug.sv file:
module top();
logic n;
always @(*) begin
{n} = 1;
end
endmodule
Run NoOldAlwaysSyntax checker on it at any build. For example:
By default
LHSSymbol
collector from ASTHelpers may storenullptr
value when - assignment lhs is notlvalue
directy (for example -{x} = 1;
) and at another cases. Then it leads to segmentation fault atNoOldAlwaysSyntax
checker when stored lhs value is dereferenced.How to reproduce:
bug.sv
file:NoOldAlwaysSyntax
checker on it at any build. For example: