MCPcopy Create free account
hub / github.com/ReversecLabs/C3 / Form

Method Form

Src/ChannelLinter/Form.cpp:6–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4namespace FSecure::C3::Linter
5{
6 Form::Form(json argumentForm) :
7 m_ArgumentsForm(std::move(argumentForm))
8 {
9 for (auto& arg : m_ArgumentsForm)
10 {
11 if (arg.is_array())
12 {
13 for (auto& a : arg)
14 {
15 m_Elements.emplace_back(MakeFormElement(a));
16 }
17 }
18 else
19 {
20 m_Elements.emplace_back(MakeFormElement(arg));
21 }
22 }
23 }
24
25 Form::Form(Form const& other) noexcept :
26 Form(other.m_ArgumentsForm)

Callers

nothing calls this directly

Calls 1

MakeFormElementFunction · 0.85

Tested by

no test coverage detected