frida_libpng: make test crash happen (much) less frequently
This commit is contained in:
parent
0019364ff6
commit
e3a95e2d70
@ -88,7 +88,7 @@ static char * allocation = NULL;
|
|||||||
__attribute__((noinline))
|
__attribute__((noinline))
|
||||||
void func3( char * alloc) {
|
void func3( char * alloc) {
|
||||||
printf("func3\n");
|
printf("func3\n");
|
||||||
if (random() % 5 == 0) {
|
if (random() == 0) {
|
||||||
alloc[0xff] = 0xde;
|
alloc[0xff] = 0xde;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user