Commit Graph

20 Commits

Author SHA1 Message Date
da6c8857d6 Moved utf8 code into a C file, fixed some potential null deref issues 2021-05-31 12:38:42 -07:00
219f62ed3f Renamed file_t.contents -> file_t.start, added file_t.memory for
canonical tracking of memory for mmap, simplified json printing,
and added support for initiating searches on a specific line (and/or
column).
2021-05-20 18:31:28 -07:00
8fcf6261bd Print errors to stderr instead of stdout 2021-05-20 13:05:15 -07:00
d9f0a92839 Added (!) syntax for errors with proper opcode support 2021-05-20 00:33:11 -07:00
6ff7a67530 When printing with zero context, put each match on its own line 2021-05-19 21:12:41 -07:00
906b03609b Fixed bug with adding accidental extra newlines 2021-01-29 16:55:38 -08:00
bea3e3e268 Added nodent support (\N) for replacement strings. Slightly hacky, but
it works okay.
2021-01-22 18:35:58 -08:00
3c38aef78c Bugfix for replacement coloring 2021-01-20 15:16:40 -08:00
0b0e99bfac A few more pedantic cleanups 2021-01-18 11:28:39 -08:00
e98574570e More static analysis cleanup 2021-01-18 11:15:53 -08:00
7f0c3804dc Checking more return values (per static analyzer) 2021-01-18 09:52:35 -08:00
3ededef53d Static analysis part 1 2021-01-18 09:15:25 -08:00
4382fffbe0 Better visualization of matches with newlines and tabs 2021-01-18 00:38:55 -08:00
dfdc7bf94a Fixed error printing code 2021-01-18 00:14:01 -08:00
ffdf32da2f Code cleanup on utils 2021-01-17 23:06:37 -08:00
65ec566aa8 Fixed color output for utf8 sequences 2021-01-17 22:06:03 -08:00
3f6e7c2beb Renamed VM_ to BP_ 2021-01-16 10:29:09 -08:00
a2f30332cc Sorting imports 2021-01-15 19:44:16 -08:00
270509af3b Renamed vm->match 2021-01-15 19:30:21 -08:00
77b33d6a3c Renaming files: printing->print, file_loader->files 2021-01-15 19:27:25 -08:00