Functions | Variables
bt_fuzzer.cpp File Reference
#include <fuzzer/FuzzedDataProvider.h>
#include "behaviortree_cpp/bt_factory.h"
#include "behaviortree_cpp/xml_parsing.h"
#include <string>
Include dependency graph for bt_fuzzer.cpp:

Go to the source code of this file.

Functions

std::string generateFuzzedNodeXML (FuzzedDataProvider &fdp, int depth=0)
 
int LLVMFuzzerTestOneInput (const uint8_t *data, size_t size)
 

Variables

constexpr const char * NODE_ATTRIBUTES []
 
constexpr const char * NODE_TYPES []
 

Function Documentation

◆ generateFuzzedNodeXML()

std::string generateFuzzedNodeXML ( FuzzedDataProvider &  fdp,
int  depth = 0 
)

Definition at line 21 of file bt_fuzzer.cpp.

◆ LLVMFuzzerTestOneInput()

int LLVMFuzzerTestOneInput ( const uint8_t *  data,
size_t  size 
)

Definition at line 61 of file bt_fuzzer.cpp.

Variable Documentation

◆ NODE_ATTRIBUTES

constexpr const char* NODE_ATTRIBUTES[]
constexpr
Initial value:
= { "name", "ID", "port_1",
"port_2", "timeout_ms", "delay_ms",
"threshold", "max_repeats" }

Definition at line 17 of file bt_fuzzer.cpp.

◆ NODE_TYPES

constexpr const char* NODE_TYPES[]
constexpr
Initial value:
= {
"Sequence", "Fallback", "ParallelAll",
"ReactiveSequence", "ReactiveFallback", "IfThenElse",
"WhileDoElse", "Inverter", "RetryUntilSuccessful",
"Repeat", "Timeout", "Delay",
"ForceSuccess", "ForceFailure", "AlwaysSuccess",
"AlwaysFailure", "SetBlackboard", "SubTree"
}

Definition at line 7 of file bt_fuzzer.cpp.



behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Wed Apr 16 2025 02:20:57