albertZhangTJ / sqlancer-lancerfuzz

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

Include value generation as part of the schema references #28

Closed albertZhangTJ closed 7 months ago

albertZhangTJ commented 8 months ago

When a new value is generated in LancerFuzz. The exact table and column for which this value is used shall be passed. Then on the backend we check for constraints including types, unique constraints, primary keys, foreign keys etc and try to return a valid output.

albertZhangTJ commented 7 months ago

The typing part is done with 47a063cdbf3dfe221c4b833dadd5fc30acdd8fac, the rest will not be considered due to the extra amount of logic needs to be implemented + the book-keeping functionality the target DBMS has to support to achieve the goal.