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
Hi jakkdu. It seems like apisan doesn't support alias analyze of cpair checker. Consider the following code:
#include<stdio.h>voidgood1(){
int*a=(int*)malloc(sizeof(int));
// do something...free(a);
}
// other similar malloc-free pattern omitted...voidgoodx(){
int*a=(int*)malloc(sizeof(int));
int*b=a;
// do something...free(b);
}
Apisan makes complaints that malloc-free pattern in goodx is a potential bug.
The text was updated successfully, but these errors were encountered:
Sorry, Jason.
I was too busy.
I just checked the cpair one.
Could you give me the full code that you test?
I think goodx seems not considered as potential bug.
Thanks.
Hi jakkdu. It seems like apisan doesn't support alias analyze of cpair checker. Consider the following code:
Apisan makes complaints that malloc-free pattern in
goodx
is a potential bug.The text was updated successfully, but these errors were encountered: