We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
diff --git a/src/libtriton/engines/symbolic/symbolicSimplification.cpp b/src/libtriton/engines/symbolic/symbolicSimplification.cpp index 960c7994..c45d0f4d 100644 --- a/src/libtriton/engines/symbolic/symbolicSimplification.cpp +++ b/src/libtriton/engines/symbolic/symbolicSimplification.cpp @@ -181,8 +181,12 @@ namespace triton { throw triton::exceptions::SymbolicSimplification("SymbolicSimplification::processSimplification(): node cannot be null."); /* process recorded callback about symbolic simplifications */ - if (this->callbacks) - node = this->callbacks->processCallbacks(triton::callbacks::SYMBOLIC_SIMPLIFICATION, node); + if (this->callbacks) { + for (triton::uint32 index = 0; index < node->getChildren().size(); index++) + node->setChild(index, this->processSimplification(node->getChildren()[index])); + + if (node->getBitvectorSize()) + node = this->callbacks->processCallbacks(triton::callbacks::SYMBOLIC_SIMPLIFICATION, node); + } return node; }
This patch need to be tested in several ways before merging.
The text was updated successfully, but these errors were encountered:
Fix #553: Implicit node visitor and simplification
3b6fc21
Merge pull request #701 from JonathanSalwan/dev-simpl-node
e30cbff
merged
Sorry, something went wrong.
JonathanSalwan
No branches or pull requests
This patch need to be tested in several ways before merging.
The text was updated successfully, but these errors were encountered: