Triton is a dynamic binary analysis library. Build your own program analysis tools, automate your reverse engineering, perform software verification or just emulate code.
This PR fix an issue with the in the Triton to Bitwuzla translation for VARIABLE_NODE. If a variable node appears more that once in an expression, different term for that node will be created. That means, bitwuzla_mk_const will return different BitwuzlaTerms for the same symbol. The fix checks whether the term was already created and returns it, otherwise creates a new one.
This PR fix an issue with the in the Triton to Bitwuzla translation for
VARIABLE_NODE
. If a variable node appears more that once in an expression, different term for that node will be created. That means,bitwuzla_mk_const
will return differentBitwuzlaTerm
s for the same symbol. The fix checks whether the term was already created and returns it, otherwise creates a new one.