Skip to content

Instantly share code, notes, and snippets.

View ukreator's full-sized avatar

Dmitry Sobinov ukreator

  • Sydney, Australia
View GitHub Profile
@ukreator
ukreator / example4-0ec423.cpp
Created May 7, 2017 11:41
Preprocessed source and run script for clang crash
# 1 "<built-in>"
# 1 "example4.cpp"
#if 0 /* expanded by -frewrite-includes */
#include "sml.hpp"
#endif /* expanded by -frewrite-includes */
# 1 "example4.cpp"
# 1 "./sml.hpp" 1
//
// Copyright (c) 2016-2017 Kris Jusiak (kris at jusiak dot net)
//
@ukreator
ukreator / dtlstest.c
Created October 18, 2014 11:32
DTLS re-handshake bug reproduction
#include <stdint.h>
#include <assert.h>
#include <time.h>
#include <stdio.h>
#include <pthread.h>
#include <stdbool.h>
#include <openssl/ssl.h>
#include <openssl/bio.h>
#include <openssl/err.h>