albertZhangTJ / sqlancer-lancerfuzz

SQLancer, with grammar-based fuzzing capability
http://www.sqlancer.com/
MIT License
1 stars 0 forks source link

Add quantifier quantity limit definition #4

Closed albertZhangTJ closed 9 months ago

albertZhangTJ commented 9 months ago

Allow for precise definition of upper and lower limit of repetitions generated by a quantifier node.

Simply toss this in ANTLR actions lah!

(Bit of problem: what should the behavior be if the limit specified in Action does not match that specified by using EBNF suffix?

albertZhangTJ commented 9 months ago

I guess it should be enough to just throw an error if that does happen.

After all that is what it is (a human error)

albertZhangTJ commented 9 months ago

Feature added with 745ab5d7f08f7f55bbe91c71453a232122e1c274