MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / CreateSchemaValidator

Method CreateSchemaValidator

rapidjson/schema.h:1741–1747  ·  view source on GitHub ↗

Implementation of ISchemaStateFactory

Source from the content-addressed store, hash-verified

1739
1740 // Implementation of ISchemaStateFactory<SchemaType>
1741 virtual ISchemaValidator* CreateSchemaValidator(const SchemaType& root) {
1742 return new (GetStateAllocator().Malloc(sizeof(GenericSchemaValidator))) GenericSchemaValidator(*schemaDocument_, root,
1743#if RAPIDJSON_SCHEMA_VERBOSE
1744 depth_ + 1,
1745#endif
1746 &GetStateAllocator());
1747 }
1748
1749 virtual void DestroySchemaValidator(ISchemaValidator* validator) {
1750 GenericSchemaValidator* v = static_cast<GenericSchemaValidator*>(validator);

Callers 2

Calls 1

MallocMethod · 0.45

Tested by

no test coverage detected