summaryrefslogtreecommitdiff
path: root/optimize.c
Commit message (Expand)AuthorAgeFilesLines
* Fix some typosFrancois-Xavier Le Bail2020-12-121-1/+1
* Restore "iff" (revert 824aa78). [skip ci]Denis Ovsienko2020-10-121-1/+1
* Fix typosFrancois-Xavier Le Bail2020-08-101-1/+1
* ptimize: move the definition of extrajmps to the block in which it's used.Guy Harris2020-06-171-2/+2
* optimize: remove unnecessary tests.Guy Harris2020-06-171-12/+3
* optimizer: add a sanity check to make sure the program isn't empty.Guy Harris2020-05-291-0/+6
* optimize: clean up comment.Guy Harris2020-05-221-4/+2
* optimize: add a bunch of overflow checks.Guy Harris2020-05-221-8/+74
* optimize: fix some of those changes.Guy Harris2020-05-211-19/+16
* optimize: make some variables unsigned.Guy Harris2020-05-211-35/+57
* Fix minor comment typo.Guy Harris2020-05-211-1/+1
* optimizer: add a hack to try to catch certain optimizer loops.Guy Harris2020-05-181-4/+160
* optimize: use BITS_PER_WORD rather than calculating it.Guy Harris2020-05-171-2/+2
* optimize: use JT() rather than explicitly referring to et.succ.Guy Harris2020-05-171-1/+1
* gencode/optimize: add a bunch of comments.Guy Harris2020-05-171-9/+180
* Use more HTTPS in URLsFrancois-Xavier Le Bail2020-01-191-1/+1
* Cleaning spacesFrancois-Xavier Le Bail2019-11-081-6/+6
* With MSVC, abort if _BitScanForward() returns 0.Guy Harris2019-10-031-1/+1
* Remove some workarounds for old compilers.Guy Harris2019-08-091-4/+4
* Removing null check before freePhilippe Antoine2019-06-161-12/+6
* No free in opt_init, rather in opt_cleanupPhilippe Antoine2019-06-161-30/+0
* Fixes bould free in opt_cleanupPhilippe Antoine2019-06-151-6/+27
* Clean up some whitespacesFrancois-Xavier Le Bail2019-01-231-1/+1
* Throw in a cast to squelch a warning.Guy Harris2018-11-221-1/+5
* Clean up signed vs. unsigned, do more error checking in the parser.Guy Harris2018-11-221-35/+53
* Don't call setjmp in code we didn't write.Guy Harris2018-10-271-0/+1
* Fix compiling with optimizer debugging enabled.Guy Harris2018-10-261-16/+23
* Handle negation in a way that doesn't upset compilers or UBSan.Guy Harris2018-10-261-1/+17
* Don't longjmp out of the generated parser.Guy Harris2018-10-251-69/+107
* Catch shifts > 31 bits generated by the optimizer.Guy Harris2018-10-221-0/+10
* Catch another place where we divide by or take a modulus by zero.Guy Harris2018-10-181-2/+16
* Plug some memory leaks.Guy Harris2018-10-171-16/+83
* Don't shift by more than 31 bit positions.Guy Harris2018-10-161-2/+30
* Clean up the declaration of the packet-filtering routines.Guy Harris2018-08-311-1/+1
* Cast the LHS if bit shifts to bpf_u_int32 to avoid undefined behavior.Guy Harris2018-07-121-4/+4
* Do unsigned shifts.Guy Harris2018-06-211-1/+1
* Add -Wformat-nonliteral and fix most warnings that come upJoerg Mayer2018-05-031-1/+1
* Have separate flags for "optimizer debug" and "print DOT graph".Guy Harris2018-05-031-9/+58
* Do bounds checking on references to the bids array.Guy Harris2018-04-251-2/+4
* Fix the -Wunused-parameter warnings that have obvious fixesJoerg Mayer2018-03-281-7/+7
* Add casts to finish eliminating those warnings.Guy Harris2018-03-221-4/+4
* Check for too-large conditional jump offsets.Guy Harris2018-03-221-3/+19
* Squelch some warnings.Guy Harris2018-03-201-2/+2
* Use for (;;) rather than while (1).Guy Harris2018-03-201-6/+6
* Tame -Wall on MSVC and improve Clang/C2 supportAli Abdulkadir2018-03-191-0/+3
* Add a routine to format error messages with an errno-based message at the end.Guy Harris2017-11-151-2/+2
* Improve the "undefined defined" problem solution.Denis Ovsienko2017-10-151-1/+1
* Address CLang "undefined defined" warnings.Denis Ovsienko2017-10-151-1/+1
* Don't bother supporting pre-2005 Visual Studio.Guy Harris2017-09-281-2/+3
* Update a comment.Guy Harris2017-09-231-1/+1