retdec
api_call_info_seq_parser.h
Go to the documentation of this file.
1 
7 #ifndef RETDEC_LLVMIR2HLL_PATTERN_PATTERN_FINDERS_API_CALL_API_CALL_INFO_SEQ_PARSER_H
8 #define RETDEC_LLVMIR2HLL_PATTERN_PATTERN_FINDERS_API_CALL_API_CALL_INFO_SEQ_PARSER_H
9 
10 #include <optional>
11 #include <string>
12 
18 
19 namespace retdec {
20 namespace llvmir2hll {
21 
64 public:
66 
67  std::optional<APICallInfoSeq> parse(const std::string &text) const;
68 
69 private:
71 };
72 
73 } // namespace llvmir2hll
74 } // namespace retdec
75 
76 #endif
A representation of information about an API call.
A sequence of information about API calls.
A parser of textual representation of API call sequences.
Definition: api_call_info_seq_parser.h:63
static ShPtr< APICallInfoSeqParser > create()
Creates a new parser.
Definition: api_call_info_seq_parser.cpp:190
APICallInfoSeqParser()
Constructs an APICallInfoSeqParser instance.
Definition: api_call_info_seq_parser.cpp:155
std::optional< APICallInfoSeq > parse(const std::string &text) const
Parses the given text into a sequence of API calls information.
Definition: api_call_info_seq_parser.cpp:165
A mixin to make classes non-copyable.
Definition: non_copyable.h:27
A library providing API for working with back-end IR.
std::shared_ptr< T > ShPtr
An alias for a shared pointer.
Definition: smart_ptr.h:18
Definition: archive_wrapper.h:19
A mixin to make classes non-copyable.
Declarations, aliases, macros, etc. for the use of smart pointers.
Aliases for several useful types.