diff --git a/src/fwd_analyzer.cpp b/src/fwd_analyzer.cpp index 4ce08cf52..ebf53917a 100644 --- a/src/fwd_analyzer.cpp +++ b/src/fwd_analyzer.cpp @@ -2,8 +2,10 @@ // SPDX-License-Identifier: Apache-2.0 #include #include +#include #include #include +#include #include "analysis_context.hpp" #include "cfg/cfg.hpp" @@ -142,6 +144,27 @@ class InterleavedFwdFixpointIterator final { return std::numeric_limits::max(); } + [[nodiscard]] + int max_call_depth() const { + int max_call_depth = 0; + std::set