Skip to content

Instantly share code, notes, and snippets.

View bcantrill's full-sized avatar

Bryan Cantrill bcantrill

View GitHub Profile
@bcantrill
bcantrill / ub.c
Created January 11, 2019 18:41
Punishment doesn't fit the crime?
#define NULL ((void *)0)
static char *arr[2] = { "nasal", "demons" };
long
func()
{
int i;
for (i = 0; i <= 2; i++) {
#pragma D option nspec=100
#pragma D option flowindent
pid$target::libusb_submit_transfer:entry
{
self->spec = speculation();
}
pid$target:*libusb*::entry,