mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-01 01:31:26 +00:00
f5cb9cb59d
By ensuring the base is only visited once. This avoids infinite recursion and expontential running times in some corner cases. See the added tests for examples. Apart from the cases that caused infinite recursion and used to crash, this change is an NFC and results of the matchers are the same. |
||
---|---|---|
.. | ||
Dynamic | ||
ASTMatchersInternal.cpp | ||
ASTMatchFinder.cpp | ||
CMakeLists.txt | ||
GtestMatchers.cpp |