View main.rs
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
const EC_PUBLIC_KEY_OID: asn1::ObjectIdentifier = asn1::oid!(1, 2, 840, 10045, 2, 1); | |
const P256_OID: asn1::ObjectIdentifier = asn1::oid!(1, 2, 840, 10045, 3, 1, 7); | |
#[derive(asn1::Asn1Read)] | |
struct SubjectPublicKeyInfo<'a> { | |
algorithm: AlgorithmIdentifier<'a>, | |
subject_public_key: asn1::BitString<'a>, | |
} |
View master.s
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
.text | |
.file "t.3a1fbbbh-cgu.0" | |
.section .text.repeat_take_collect,"ax",@progbits | |
.globl repeat_take_collect | |
.p2align 4, 0x90 | |
.type repeat_take_collect,@function | |
repeat_take_collect: | |
.cfi_startproc | |
pushq %r14 | |
.cfi_def_cfa_offset 16 |
View Cargo.toml
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
[package] | |
name = "f" | |
version = "0.1.0" | |
authors = ["Alex Gaynor <alex.gaynor@gmail.com>"] | |
edition = "2018" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
[dependencies] | |
packed_simd = "0.3" |
View validate.go
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
package validate | |
import ( | |
"fmt" | |
"io" | |
"unicode/utf8" | |
) | |
type validatingWriter struct { | |
w io.Writer |
View gm.diff
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 -r 45d2f234c8a1 fuzzing/oss-fuzz-build.sh | |
--- a/fuzzing/oss-fuzz-build.sh Wed Sep 18 08:37:23 2019 -0500 | |
+++ b/fuzzing/oss-fuzz-build.sh Thu Sep 19 19:40:40 2019 -0400 | |
@@ -100,7 +100,7 @@ | |
$CXX $CXXFLAGS -std=c++11 -I "$WORK/include/GraphicsMagick" \ | |
"$f" -o "$OUT/${fuzzer}_fuzzer" \ | |
- -lFuzzingEngine "$WORK/lib/libGraphicsMagick++.a" \ | |
+ $LIB_FUZZING_ENGINE "$WORK/lib/libGraphicsMagick++.a" \ | |
"$WORK/lib/libGraphicsMagick.a" $MAGICK_LIBS |
View bench_test.go
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
package foo | |
import ( | |
"bytes" | |
"testing" | |
) | |
var Data1 = bytes.Repeat([]byte("a"), 1) | |
var Data10 = bytes.Repeat([]byte("a"), 10) | |
var Data100 = bytes.Repeat([]byte("a"), 100) |
View gist:f7893e0e44d8a22cdc7b2609fb4d25b7
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
2019/08/12 11:05:13 [INFO] Terraform version: 0.12.6 | |
2019/08/12 11:05:13 [INFO] Go runtime version: go1.12.4 | |
2019/08/12 11:05:13 [INFO] CLI args: []string{"/tmp/x/terraform", "validate"} | |
2019/08/12 11:05:13 [DEBUG] Attempting to open CLI config file: /home/alex/.terraformrc | |
2019/08/12 11:05:13 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2019/08/12 11:05:13 [INFO] CLI command args: []string{"validate"} | |
2019/08/12 11:05:13 [DEBUG] checking for provider in "." | |
2019/08/12 11:05:13 [DEBUG] checking for provider in "/tmp/x" | |
2019/08/12 11:05:13 [DEBUG] checking for provider in ".terraform/plugins/linux_amd64" | |
2019/08/12 11:05:13 [DEBUG] found provider "terraform-provider-aws_v2.23.0_x4" |
View slides-link
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
https://drive.google.com/open?id=1rfMR-5Nc0LE0TLlJtpZJTEzlxGoKiMXQ |
View t.cc
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
#include <cstdint> | |
#include "js/Initialization.h" | |
#include "jsapi.h" | |
extern "C" char *grammarfuzz_js_generate(const uint8_t *, size_t); | |
extern "C" void grammarfuzz_js_free(char *); | |
static JSClassOps global_ops = {nullptr, | |
nullptr, |
View download-slack-emoji.py
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 __future__ import print_function | |
import os | |
import sys | |
import zipfile | |
import requests | |
def main(argv): |
NewerOlder