This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from clusterfuzz._internal.google_cloud_utils import storage | |
import time | |
import cProfile | |
import pstats | |
def main(): | |
start=time.time() | |
remote_dir = 'gs://clusterfuzz-corpus' | |
profiler = cProfile.Profile() | |
profiler.enable() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd /src/aflplusplus | |
apt-get install -y ssh gdb joe | |
git pull | |
git checkout dev | |
unset CC | |
unset CXX | |
unset CFLAGS | |
unset CXXFLAGS | |
make clean install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Image(object): | |
def __init__(self, name, command, dependencies): | |
self.name = name | |
self.command = command | |
self.dependencies = dependencies | |
base_image = Image('base-image', command, []) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from random import random | |
import time | |
from opencensus.ext.stackdriver import stats_exporter | |
from opencensus.stats import aggregation | |
from opencensus.stats import measure | |
from opencensus.stats import stats | |
from opencensus.stats import view | |
# A measure that represents the number of tasks that need to execute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
starting build "00513ade-e24e-4055-ac64-af38282f08c8" | |
FETCHSOURCE | |
Fetching storage object: gs://fuzzbench_cloudbuild/source/1584329564.57-12c2a434d9f14a259b5a6965e60f7d1b.tgz#1584329568986414 | |
Copying gs://fuzzbench_cloudbuild/source/1584329564.57-12c2a434d9f14a259b5a6965e60f7d1b.tgz#1584329568986414... | |
/ [0 files][ 0.0 B/ 3.1 MiB] | |
/ [1 files][ 3.1 MiB/ 3.1 MiB] | |
Operation completed over 1 objects/3.1 MiB. | |
BUILD | |
Starting Step #0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ddd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef _ANDROID_ASHMEM_H | |
#define _ANDROID_ASHMEM_H | |
#include <fcntl.h> | |
#include <linux/ashmem.h> | |
#include <linux/shm.h> | |
#include <sys/ioctl.h> | |
#include <sys/mman.h> | |
#if __ANDROID_API__ >= 26 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/python/google_cloud_utils/storage.py b/src/python/google_cloud_utils/storage.py | |
index 6112529..2f59cfb 100644 | |
--- a/src/python/google_cloud_utils/storage.py | |
+++ b/src/python/google_cloud_utils/storage.py | |
@@ -509,7 +509,8 @@ class GcsBlobInfo(object): | |
def from_key(key): | |
try: | |
return GcsBlobInfo(blobs_bucket(), key) | |
- except Exception: | |
+ except Exception as exception: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//===- afl_driver.cpp - a glue between AFL and libFuzzer --------*- C++ -* ===// | |
// | |
// The LLVM Compiler Infrastructure | |
// | |
// This file is distributed under the University of Illinois Open Source | |
// License. See LICENSE.TXT for details. | |
//===----------------------------------------------------------------------===// | |
/* This file allows to fuzz libFuzzer-style target functions | |
(LLVMFuzzerTestOneInput) with AFL using AFL's persistent (in-process) mode. |