You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#include<verifier-builtins.h>#include<stdlib.h>intmain()
{
union {
void*p0;
struct {
charc[2];
void*p1;
void*p2;
} str;
} data;
// alloc 37B on heapdata.p0=malloc(37);
// this should be finedata.str.p2=&data;
// this introduces a memleakdata.str.c[1] =sizeofdata.str.p1;
// invalid free()free(data.p0);
return0;
}
Symbiotic failed to find invalid free and memory-leak error.
But after running: symbiotic --prp=memsafety --no-slice test-0158.c symbiotic successfully find the invalid free error.
The text was updated successfully, but these errors were encountered:
Hi,
in following test (from: predator-regre):
Symbiotic failed to find
invalid free
andmemory-leak
error.But after running:
symbiotic --prp=memsafety --no-slice test-0158.c
symbiotic successfully find theinvalid free
error.The text was updated successfully, but these errors were encountered: