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:
Erwann Lagouche
2026-01-25 18:20:20 +01:00
committed by GitHub
parent d8824f7890
commit 677028dcbb
29 changed files with 225 additions and 166 deletions

View File

@@ -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);
}

View File

@@ -14,6 +14,6 @@
int test_sigkill(void)
{
raise(SIGKILL);
return (1);
raise(SIGKILL);
return (1);
}

View File

@@ -14,6 +14,6 @@
int test_sigabrt(void)
{
raise(SIGABRT);
return (1);
raise(SIGABRT);
return (1);
}

View File

@@ -14,6 +14,6 @@
int test_sigfpe(void)
{
raise(SIGFPE);
return (1);
raise(SIGFPE);
return (1);
}

View File

@@ -14,6 +14,6 @@
int test_sigpipe(void)
{
raise(SIGPIPE);
return (1);
raise(SIGPIPE);
return (1);
}

View File

@@ -12,7 +12,8 @@
int test_timeout(void)
{
while(1)
{}
return (1);
while (1)
{
}
return (1);
}