[SMTChecker] ICE in SMTEncoder::indexOrMemberAssignment() with public state variable with invalid double initialization
#12973
Labels
Projects
Describe the bug
The attached testcase crashes the solidity compiler solc with an InternalCompilerError: Solidity assertion failed in in solidity::frontend::SMTEncoder::indexOrMemberAssignment
solidity/libsolidity/formal/SMTEncoder.cpp
Line 1596 in b35cda5
To Reproduce
Built solc_ossfuzz using clang-10 according to the oss-fuzz script with
CXXFLAGS='-O1 -fsanitize=address -fsanitize=array-bounds,bool,builtin,enum,float-divide-by-zero,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr'commit: b35cda5
Crash Output
zipped testcase to reproduce:
id:000000,sig:06,src:012925,time:33170510,op:havoc,rep:2,trial:3.zip
The text was updated successfully, but these errors were encountered: