4 Commits

Author SHA1 Message Date
vanhauser-thc
48c2d51689 nits 2022-06-27 08:31:03 +02:00
vanhauser-thc
605f2bf969 code format 2022-06-18 09:14:44 +02:00
yihellen
4103ee43e2
Add automaton parser (#1426)
* have compilable program

* enable read in file

* add hashmap usage

* add build hashmap; WIP; test if constructed correctly tomorrow

* add testcase to test hashmap

* add sorted symbols list

* build symbols dictionary

* clean up DEBUG

* successfully find automaton path

* fix all memory leaks

* test if automaton same with example

* able to iterate through files in a folder

* finish testing on one random queue
wip
- change macro values
- add bound checking

* add bound checking to program length

* add bound checking to program walk length

* add boundary check to terminal number, terminal lengths and program length

* commit test makefile

* add makefile

* able to add seeds to gramatron

* remove useless argument in automaton_parser

* add automaton parser to gramfuzz

* change build

* revert test.c to original state

* add makefile to test.c for testing
2022-05-26 16:21:59 +02:00
vanhauser-thc
e1d5009229 fixes 2021-07-09 10:32:14 +02:00