#include <locale.h>
#include <optional>
#include <string>
#include <vector>
#include "include/v8-isolate.h"
#include "include/v8-local-handle.h"
#include "include/v8-object.h"
#include "include/v8-primitive.h"
#include "include/v8-template.h"
#include "src/api/api.h"
#include "src/base/platform/platform.h"
#include "src/base/platform/time.h"
#include "src/base/small-vector.h"
#include "src/base/vector.h"
#include "test/inspector/frontend-channel.h"
#include "test/inspector/isolate-data.h"
#include "test/inspector/task-runner.h"
#include "test/inspector/tasks.h"
#if !defined(V8_OS_WIN)
#include <unistd.h>
#endif
namespace v8 {
namespace internal {
namespace {
base::SmallVector<TaskRunner*, 2> task_runners;
class UtilsExtension : public InspectorIsolateData::SetupGlobalTask { … };
TaskRunner* UtilsExtension::backend_runner_ = …;
bool StrictAccessCheck(v8::Local<v8::Context> accessing_context,
v8::Local<v8::Object> accessed_object,
v8::Local<v8::Value> data) { … }
class InspectorExtension : public InspectorIsolateData::SetupGlobalTask { … };
CharVector;
constexpr auto kMaxExecutionSeconds = …;
class Watchdog final : public base::Thread { … };
void FuzzInspector(const uint8_t* data, size_t size) { … }
}
}
}
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { … }