Skip to content

Instantly share code, notes, and snippets.

@nickdesaulniers
Created January 19, 2019 00:41
Show Gist options
  • Save nickdesaulniers/822c4e363c0dfda88657edc8db83a9e0 to your computer and use it in GitHub Desktop.
Save nickdesaulniers/822c4e363c0dfda88657edc8db83a9e0 to your computer and use it in GitHub Desktop.
enum { a, b } c(void);
e, j;
typedef f;
struct g {
long h
};
d(void);
i(int);
k(int, long, *, long);
l(*);
m(long);
void n(*o, p, u) {
struct g *q;
f fault, major, flags;
q = c();
if (l(o))
return;
if (__builtin_expect(e, 0)) {
m(p);
r:
d();
}
fault = i(flags);
major |= fault;
flags &= 4;
if (q)
goto r;
if (major)
({
if (({
({
_Bool ret;
asm goto("1:.byte 15,31,68,0x000\n\t.pushsection __jump_table, "
"\"aw\" \n\t.long 1b - ., %l[l_yes] - . \n\t.quad %c0 + "
"%c1 - .\n\t.popsection \n\t"
:
: "i"(a)
:
: l_yes);
ret = a;
goto s;
l_yes:
ret = b;
s:
ret;
});
}))
k(j, 1, o, u);
});
else
q->h++;
}
t() {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment