9#ifndef SOLIDITY_FRONTEND_PATTERN_CHECK_H_
10#define SOLIDITY_FRONTEND_PATTERN_CHECK_H_
18#include <nlohmann/json.hpp>
31 const nlohmann::json &_ast_nodes,
32 const std::string &_target_func);
void check_authorization_through_tx_origin(const nlohmann::json &func)
Definition pattern_check.cpp:62
pattern_checker(const nlohmann::json &_ast_nodes, const std::string &_target_func)
Definition pattern_check.cpp:12
void do_pattern_check()
Definition pattern_check.cpp:19
const std::string target_func
Definition pattern_check.h:46
void check_require_argument(const nlohmann::json &call_args)
Definition pattern_check.cpp:115
void start_pattern_based_check(const nlohmann::json &func)
Definition pattern_check.cpp:55
virtual ~pattern_checker()=default
void check_require_call(const nlohmann::json &expr)
Definition pattern_check.cpp:95
void check_tx_origin(const nlohmann::json &left_expr)
Definition pattern_check.cpp:140
const nlohmann::json & ast_nodes
Definition pattern_check.h:45
Solidity grammar enumerations and classification helpers.