1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 09:27:59 +00:00

fuzzterm: Try enabling deferred implementation under afl-clang-fast

This commit is contained in:
Ben Harris 2015-10-11 09:49:38 +01:00
parent 4f34059902
commit 19d1ad3887

View File

@ -23,6 +23,10 @@ int main(int argc, char **argv)
term = term_init(conf, &ucsdata, NULL);
term_size(term, 24, 80, 10000);
term->ldisc = NULL;
/* Tell american fuzzy lop that this is a good place to fork. */
#ifdef __AFL_HAVE_MANUAL_CONTROL
__AFL_INIT();
#endif
while (!feof(stdin)) {
len = fread(blk, 1, sizeof(blk), stdin);
term_data(term, 0, blk, len);