chromium/third_party/sqlite/fuzz/sql_run_queries.cc

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Adapted from sqlite's ossfuzz.c

#include <cstdlib>
#include <iostream>  // TODO(mpdenton) remove
#include <string>
#include <vector>

#include "third_party/sqlite/sqlite3.h"

namespace sql_fuzzer {

namespace {
constexpr int kMaxNumRows =;
constexpr int kMaxNumColumns =;

sqlite3_int64 killTime;

/* Return the current real-world time in milliseconds since the
** Julian epoch (-4714-11-24).
*/
static sqlite3_int64 timeOfDay(void) {}

int progress_handler(void*) {}
}  // namespace

void RunSqlQueriesOnSameDB() {}

sqlite3* InitConnectionForFuzzing() {}

void EnableSqliteTracing(sqlite3* db) {}

void CloseConnection(sqlite3* db) {}

void RunSqlQueriesOnConnection(sqlite3* db, std::vector<std::string> queries) {}

void RunSqlQueries(std::vector<std::string> queries, bool enable_tracing) {}

}  // namespace sql_fuzzer