49 std::string input(
reinterpret_cast<const char*
>(Data), Size);
52 auto callback = [](wxString, int, wxString, wxString) {
return true; };
57 std::unique_ptr<BOARD_ITEM> item(parser.
Parse());
Read a Pcbnew s-expression formatted LINE_READER object and returns the appropriate BOARD_ITEM object...
virtual SETTINGS_MANAGER & GetSettingsManager() const
T * RegisterSettings(T *aSettings, bool aLoadNow=true)
Take ownership of the pointer passed in.
bool LoadProject(const wxString &aFullPath, bool aSetActive=true)
Load a project or sets up a new project with a specified path.
Is a LINE_READER that reads from a multiline 8 bit wide std::string.
int fuzz_init(int *argc, char ***argv)
Initialize wxWidgets and KiCad PGM_BASE for fuzzing.
int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size)
int LLVMFuzzerInitialize(int *argc, char ***argv)
Pcbnew s-expression file format parser definition.
PGM_BASE & Pgm()
The global program "get" accessor.