OLD | NEW |
(Empty) | |
| 1 # |
| 2 # AFL dictionary for SQL |
| 3 # ---------------------- |
| 4 # |
| 5 # Modeled based on SQLite documentation, contains some number of SQLite |
| 6 # extensions. Other dialects of SQL may benefit from customized dictionaries. |
| 7 # |
| 8 # If you append @1 to the file name when loading this dictionary, afl-fuzz |
| 9 # will also additionally load a selection of pragma keywords that are very |
| 10 # specific to SQLite (and are probably less interesting from the security |
| 11 # standpoint, because they are usually not allowed in non-privileged |
| 12 # contexts). |
| 13 # |
| 14 # Created by Michal Zalewski <lcamtuf@google.com> |
| 15 # |
| 16 |
| 17 function_abs=" abs(1)" |
| 18 function_avg=" avg(1)" |
| 19 function_changes=" changes()" |
| 20 function_char=" char(1)" |
| 21 function_coalesce=" coalesce(1,1)" |
| 22 function_count=" count(1)" |
| 23 function_date=" date(1,1,1)" |
| 24 function_datetime=" datetime(1,1,1)" |
| 25 function_decimal=" decimal(1,1)" |
| 26 function_glob=" glob(1,1)" |
| 27 function_group_concat=" group_concat(1,1)" |
| 28 function_hex=" hex(1)" |
| 29 function_ifnull=" ifnull(1,1)" |
| 30 function_instr=" instr(1,1)" |
| 31 function_julianday=" julianday(1,1,1)" |
| 32 function_last_insert_rowid=" last_insert_rowid()" |
| 33 function_length=" length(1)" |
| 34 function_like=" like(1,1)" |
| 35 function_likelihood=" likelihood(1,1)" |
| 36 function_likely=" likely(1)" |
| 37 function_load_extension=" load_extension(1,1)" |
| 38 function_lower=" lower(1)" |
| 39 function_ltrim=" ltrim(1,1)" |
| 40 function_max=" max(1,1)" |
| 41 function_min=" min(1,1)" |
| 42 function_nullif=" nullif(1,1)" |
| 43 function_printf=" printf(1,1)" |
| 44 function_quote=" quote(1)" |
| 45 function_random=" random()" |
| 46 function_randomblob=" randomblob(1)" |
| 47 function_replace=" replace(1,1,1)" |
| 48 function_round=" round(1,1)" |
| 49 function_rtrim=" rtrim(1,1)" |
| 50 function_soundex=" soundex(1)" |
| 51 function_sqlite_compileoption_get=" sqlite_compileoption_get(1)" |
| 52 function_sqlite_compileoption_used=" sqlite_compileoption_used(1)" |
| 53 function_sqlite_source_id=" sqlite_source_id()" |
| 54 function_sqlite_version=" sqlite_version()" |
| 55 function_strftime=" strftime(1,1,1,1)" |
| 56 function_substr=" substr(1,1,1)" |
| 57 function_sum=" sum(1)" |
| 58 function_time=" time(1,1,1)" |
| 59 function_total=" total(1)" |
| 60 function_total_changes=" total_changes()" |
| 61 function_trim=" trim(1,1)" |
| 62 function_typeof=" typeof(1)" |
| 63 function_unicode=" unicode(1)" |
| 64 function_unlikely=" unlikely(1)" |
| 65 function_upper=" upper(1)" |
| 66 function_varchar=" varchar(1)" |
| 67 function_zeroblob=" zeroblob(1)" |
| 68 |
| 69 keyword_ABORT="ABORT" |
| 70 keyword_ACTION="ACTION" |
| 71 keyword_ADD="ADD" |
| 72 keyword_AFTER="AFTER" |
| 73 keyword_ALL="ALL" |
| 74 keyword_ALTER="ALTER" |
| 75 keyword_ANALYZE="ANALYZE" |
| 76 keyword_AND="AND" |
| 77 keyword_AS="AS" |
| 78 keyword_ASC="ASC" |
| 79 keyword_ATTACH="ATTACH" |
| 80 keyword_AUTOINCREMENT="AUTOINCREMENT" |
| 81 keyword_BEFORE="BEFORE" |
| 82 keyword_BEGIN="BEGIN" |
| 83 keyword_BETWEEN="BETWEEN" |
| 84 keyword_BY="BY" |
| 85 keyword_CASCADE="CASCADE" |
| 86 keyword_CASE="CASE" |
| 87 keyword_CAST="CAST" |
| 88 keyword_CHECK="CHECK" |
| 89 keyword_COLLATE="COLLATE" |
| 90 keyword_COLUMN="COLUMN" |
| 91 keyword_COMMIT="COMMIT" |
| 92 keyword_CONFLICT="CONFLICT" |
| 93 keyword_CONSTRAINT="CONSTRAINT" |
| 94 keyword_CREATE="CREATE" |
| 95 keyword_CROSS="CROSS" |
| 96 keyword_CURRENT_DATE="CURRENT_DATE" |
| 97 keyword_CURRENT_TIME="CURRENT_TIME" |
| 98 keyword_CURRENT_TIMESTAMP="CURRENT_TIMESTAMP" |
| 99 keyword_DATABASE="DATABASE" |
| 100 keyword_DEFAULT="DEFAULT" |
| 101 keyword_DEFERRABLE="DEFERRABLE" |
| 102 keyword_DEFERRED="DEFERRED" |
| 103 keyword_DELETE="DELETE" |
| 104 keyword_DESC="DESC" |
| 105 keyword_DETACH="DETACH" |
| 106 keyword_DISTINCT="DISTINCT" |
| 107 keyword_DROP="DROP" |
| 108 keyword_EACH="EACH" |
| 109 keyword_ELSE="ELSE" |
| 110 keyword_END="END" |
| 111 keyword_ESCAPE="ESCAPE" |
| 112 keyword_EXCEPT="EXCEPT" |
| 113 keyword_EXCLUSIVE="EXCLUSIVE" |
| 114 keyword_EXISTS="EXISTS" |
| 115 keyword_EXPLAIN="EXPLAIN" |
| 116 keyword_FAIL="FAIL" |
| 117 keyword_FOR="FOR" |
| 118 keyword_FOREIGN="FOREIGN" |
| 119 keyword_FROM="FROM" |
| 120 keyword_FULL="FULL" |
| 121 keyword_GLOB="GLOB" |
| 122 keyword_GROUP="GROUP" |
| 123 keyword_HAVING="HAVING" |
| 124 keyword_IF="IF" |
| 125 keyword_IGNORE="IGNORE" |
| 126 keyword_IMMEDIATE="IMMEDIATE" |
| 127 keyword_IN="IN" |
| 128 keyword_INDEX="INDEX" |
| 129 keyword_INDEXED="INDEXED" |
| 130 keyword_INITIALLY="INITIALLY" |
| 131 keyword_INNER="INNER" |
| 132 keyword_INSERT="INSERT" |
| 133 keyword_INSTEAD="INSTEAD" |
| 134 keyword_INTERSECT="INTERSECT" |
| 135 keyword_INTO="INTO" |
| 136 keyword_IS="IS" |
| 137 keyword_ISNULL="ISNULL" |
| 138 keyword_JOIN="JOIN" |
| 139 keyword_KEY="KEY" |
| 140 keyword_LEFT="LEFT" |
| 141 keyword_LIKE="LIKE" |
| 142 keyword_LIMIT="LIMIT" |
| 143 keyword_MATCH="MATCH" |
| 144 keyword_NATURAL="NATURAL" |
| 145 keyword_NO="NO" |
| 146 keyword_NOT="NOT" |
| 147 keyword_NOTNULL="NOTNULL" |
| 148 keyword_NULL="NULL" |
| 149 keyword_OF="OF" |
| 150 keyword_OFFSET="OFFSET" |
| 151 keyword_ON="ON" |
| 152 keyword_OR="OR" |
| 153 keyword_ORDER="ORDER" |
| 154 keyword_OUTER="OUTER" |
| 155 keyword_PLAN="PLAN" |
| 156 keyword_PRAGMA="PRAGMA" |
| 157 keyword_PRIMARY="PRIMARY" |
| 158 keyword_QUERY="QUERY" |
| 159 keyword_RAISE="RAISE" |
| 160 keyword_RECURSIVE="RECURSIVE" |
| 161 keyword_REFERENCES="REFERENCES" |
| 162 #keyword_REGEXP="REGEXP" |
| 163 keyword_REINDEX="REINDEX" |
| 164 keyword_RELEASE="RELEASE" |
| 165 keyword_RENAME="RENAME" |
| 166 keyword_REPLACE="REPLACE" |
| 167 keyword_RESTRICT="RESTRICT" |
| 168 keyword_RIGHT="RIGHT" |
| 169 keyword_ROLLBACK="ROLLBACK" |
| 170 keyword_ROW="ROW" |
| 171 keyword_SAVEPOINT="SAVEPOINT" |
| 172 keyword_SELECT="SELECT" |
| 173 keyword_SET="SET" |
| 174 keyword_TABLE="TABLE" |
| 175 keyword_TEMP="TEMP" |
| 176 keyword_TEMPORARY="TEMPORARY" |
| 177 keyword_THEN="THEN" |
| 178 keyword_TO="TO" |
| 179 keyword_TRANSACTION="TRANSACTION" |
| 180 keyword_TRIGGER="TRIGGER" |
| 181 keyword_UNION="UNION" |
| 182 keyword_UNIQUE="UNIQUE" |
| 183 keyword_UPDATE="UPDATE" |
| 184 keyword_USING="USING" |
| 185 keyword_VACUUM="VACUUM" |
| 186 keyword_VALUES="VALUES" |
| 187 keyword_VIEW="VIEW" |
| 188 keyword_VIRTUAL="VIRTUAL" |
| 189 keyword_WHEN="WHEN" |
| 190 keyword_WHERE="WHERE" |
| 191 keyword_WITH="WITH" |
| 192 keyword_WITHOUT="WITHOUT" |
| 193 |
| 194 operator_concat=" || " |
| 195 operator_ebove_eq=" >=" |
| 196 |
| 197 snippet_1eq1=" 1=1" |
| 198 snippet_at=" @1" |
| 199 snippet_backticks=" `a`" |
| 200 snippet_blob=" blob" |
| 201 snippet_brackets=" [a]" |
| 202 snippet_colon=" :1" |
| 203 snippet_comment=" /* */" |
| 204 snippet_date="2001-01-01" |
| 205 snippet_dollar=" $1" |
| 206 snippet_dotref=" a.b" |
| 207 snippet_fmtY="%Y" |
| 208 snippet_int=" int" |
| 209 snippet_neg1=" -1" |
| 210 snippet_pair=" a,b" |
| 211 snippet_parentheses=" (1)" |
| 212 snippet_plus2days="+2 days" |
| 213 snippet_qmark=" ?1" |
| 214 snippet_semicolon=" ;" |
| 215 snippet_star=" *" |
| 216 snippet_string_pair=" \"a\",\"b\"" |
| 217 |
| 218 string_dbl_q=" \"a\"" |
| 219 string_escaped_q=" 'a''b'" |
| 220 string_single_q=" 'a'" |
| 221 |
| 222 pragma_application_id@1=" application_id" |
| 223 pragma_auto_vacuum@1=" auto_vacuum" |
| 224 pragma_automatic_index@1=" automatic_index" |
| 225 pragma_busy_timeout@1=" busy_timeout" |
| 226 pragma_cache_size@1=" cache_size" |
| 227 pragma_cache_spill@1=" cache_spill" |
| 228 pragma_case_sensitive_like@1=" case_sensitive_like" |
| 229 pragma_checkpoint_fullfsync@1=" checkpoint_fullfsync" |
| 230 pragma_collation_list@1=" collation_list" |
| 231 pragma_compile_options@1=" compile_options" |
| 232 pragma_count_changes@1=" count_changes" |
| 233 pragma_data_store_directory@1=" data_store_directory" |
| 234 pragma_database_list@1=" database_list" |
| 235 pragma_default_cache_size@1=" default_cache_size" |
| 236 pragma_defer_foreign_keys@1=" defer_foreign_keys" |
| 237 pragma_empty_result_callbacks@1=" empty_result_callbacks" |
| 238 pragma_encoding@1=" encoding" |
| 239 pragma_foreign_key_check@1=" foreign_key_check" |
| 240 pragma_foreign_key_list@1=" foreign_key_list" |
| 241 pragma_foreign_keys@1=" foreign_keys" |
| 242 pragma_freelist_count@1=" freelist_count" |
| 243 pragma_full_column_names@1=" full_column_names" |
| 244 pragma_fullfsync@1=" fullfsync" |
| 245 pragma_ignore_check_constraints@1=" ignore_check_constraints" |
| 246 pragma_incremental_vacuum@1=" incremental_vacuum" |
| 247 pragma_index_info@1=" index_info" |
| 248 pragma_index_list@1=" index_list" |
| 249 pragma_integrity_check@1=" integrity_check" |
| 250 pragma_journal_mode@1=" journal_mode" |
| 251 pragma_journal_size_limit@1=" journal_size_limit" |
| 252 pragma_legacy_file_format@1=" legacy_file_format" |
| 253 pragma_locking_mode@1=" locking_mode" |
| 254 pragma_max_page_count@1=" max_page_count" |
| 255 pragma_mmap_size@1=" mmap_size" |
| 256 pragma_page_count@1=" page_count" |
| 257 pragma_page_size@1=" page_size" |
| 258 pragma_parser_trace@1=" parser_trace" |
| 259 pragma_query_only@1=" query_only" |
| 260 pragma_quick_check@1=" quick_check" |
| 261 pragma_read_uncommitted@1=" read_uncommitted" |
| 262 pragma_recursive_triggers@1=" recursive_triggers" |
| 263 pragma_reverse_unordered_selects@1=" reverse_unordered_selects" |
| 264 pragma_schema_version@1=" schema_version" |
| 265 pragma_secure_delete@1=" secure_delete" |
| 266 pragma_short_column_names@1=" short_column_names" |
| 267 pragma_shrink_memory@1=" shrink_memory" |
| 268 pragma_soft_heap_limit@1=" soft_heap_limit" |
| 269 pragma_stats@1=" stats" |
| 270 pragma_synchronous@1=" synchronous" |
| 271 pragma_table_info@1=" table_info" |
| 272 pragma_temp_store@1=" temp_store" |
| 273 pragma_temp_store_directory@1=" temp_store_directory" |
| 274 pragma_threads@1=" threads" |
| 275 pragma_user_version@1=" user_version" |
| 276 pragma_vdbe_addoptrace@1=" vdbe_addoptrace" |
| 277 pragma_vdbe_debug@1=" vdbe_debug" |
| 278 pragma_vdbe_listing@1=" vdbe_listing" |
| 279 pragma_vdbe_trace@1=" vdbe_trace" |
| 280 pragma_wal_autocheckpoint@1=" wal_autocheckpoint" |
| 281 pragma_wal_checkpoint@1=" wal_checkpoint" |
| 282 pragma_writable_schema@1=" writable_schema" |
OLD | NEW |