aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-01-06 13:40:23 -0500
committerJack Lloyd <[email protected]>2016-01-06 13:40:23 -0500
commit805c391817f22681ca9f09d7b04475f7cd9d34e7 (patch)
treeb28acc55a3c8689430a1acc273e0889385b99935 /src/cli
parentac5ae9a7a28b664d86b79cf85a6708c9f8b9a0fd (diff)
Precompile the list of TLS ciphersuites
This avoids a scan over the entire 0 - 0xFFFF space which is mostly empty, by instead keeping a second list in tls_suite_info which is exactly the keys for which the switch statement has values. This scan is only ever done once (when first needed) but removing it is sufficient to increase AFL's throuhput by 4x since it goes through a full startup on each test.
Diffstat (limited to 'src/cli')
0 files changed, 0 insertions, 0 deletions