mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-13 07:57:35 +00:00
9efe88a9ce
* Fix some segfaults and issues in r_magic * Use the libr/socket/http library * Added r_io_http plugin * Magic search is extremely slow
28 lines
374 B
C
28 lines
374 B
C
/* radare - LGPL - Copyright 2009-2011 pancake<nopcode.org> */
|
|
#include "r_util.h"
|
|
|
|
int test_flist () {
|
|
int i;
|
|
void **it = r_flist_new (3);
|
|
char *pos = NULL;
|
|
|
|
for (i=0;i<9999;i++) {
|
|
r_flist_set (it, i, "foo");
|
|
}
|
|
|
|
r_flist_delete (it, 1);
|
|
|
|
r_flist_foreach (it, pos) {
|
|
printf("%s\n", pos);
|
|
}
|
|
|
|
r_flist_free(it);
|
|
|
|
return 0;
|
|
}
|
|
|
|
int main() {
|
|
return test_flist();
|
|
}
|
|
|