Prettier output and some fixes (#4)
* feat: tab results * feat: more colors * style: norm * fix: patch a spacing bug * fix: patch a small issue * fix: patch some leaks * style: norm
This commit is contained in:
@@ -14,12 +14,12 @@
|
||||
|
||||
int test_sigbus(void)
|
||||
{
|
||||
char *cptr;
|
||||
int *iptr;
|
||||
char *cptr;
|
||||
int *iptr;
|
||||
|
||||
__asm__("pushf\norl $0x40000,(%rsp)\npopf");
|
||||
cptr = malloc(sizeof(int) + 1);
|
||||
iptr = (int *)++cptr;
|
||||
*iptr = 42;
|
||||
return (1);
|
||||
__asm__("pushf\norl $0x40000,(%rsp)\npopf");
|
||||
cptr = malloc(sizeof(int) + 1);
|
||||
iptr = (int *)++cptr;
|
||||
*iptr = 42;
|
||||
return (1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user