Skip to content

Instantly share code, notes, and snippets.

View shnewto's full-sized avatar
💭
🙌

Shea Newton shnewto

💭
🙌
View GitHub Profile
@shnewto
shnewto / poem_bnf.txt
Last active November 8, 2017 22:01
eerie poem grammar
<poem> ::= <rule1> "\n" <rule2> "\n" <rule3>
<qual> ::= "while" | "as" | "momentarily" | "frozen"
<noun> ::= "he" | "she" | "the shadowy figure" | "the boy" | "a child"
<tverb> ::= "outlines" | "casts toward" | "stares at" | "captures" | "damns"
<iverb> ::= "lingers" | "pauses" | "reflects" | "alights" | "hesitates"
| "turns away" | "returns" | "kneels" | "stares"
<article> ::= "a" | "the"
<adj> ::= "slowly" | "silently" | "darkly" | "with fear"
| "expectantly" | "fearfully"
<ger> ::= "waiting" | "pointing" | "breathing"
@shnewto
shnewto / prop_test_03.h
Created November 30, 2017 03:56
Fuzzed C headers generated (as property tests for `rust-bindgen`) after changes requested in PR were addressed.
union {
struct
{
union {
} union_3_1;
} struct_1_0;
const unsigned ************(*func_ptr_2_1)(const signed long long *****, unsigned long long *****, short *****, unsigned int **************, char ***************, double *********, unsigned int ***, const int ******);
struct
{
union {
@shnewto
shnewto / prop_test_05.h
Created December 5, 2017 03:03
Fuzzed C headers generated (as property tests for `rust-bindgen`) after adding [[bin]] target and CLI
const signed short int ***********func_9_0(signed long long int **, const double ***********, unsigned int **, signed short int ***, unsigned long ***********);
unsigned short ***************func_10_1(const char ***, signed ************, signed long **************);
struct
{
const void **ident_1_0;
union {
} union_15_2;
union {
unsigned short ***********ident_0_0;
struct
@shnewto
shnewto / quickchecking_header_1.h
Last active January 5, 2018 07:07
Fuzzed C header. Generated by bindgen's quickchecking crate.
union {
union {
union {
} union_4_2[14][9];
union {
union {
unsigned long long ************ident_1_0;
} union_3_0[7];
} union_1_3;
const unsigned short int *******(*func_ptr_4_4)(int ***, const unsigned long ********, const unsigned short **********, unsigned char ***);