summaryrefslogtreecommitdiff
path: root/optimize.c
Commit message (Expand)AuthorAgeFilesLines
* Remove prototype header for HP-UX 11.x.Denis Ovsienko2023-02-181-6/+8
* Fix spaces before tabs in indentationFrancois-Xavier Le Bail2023-02-151-8/+8
* Fix some typosFrancois-Xavier Le Bail2022-08-011-1/+1
* Fix some typosFrancois-Xavier Le Bail2022-07-101-1/+1
* Avoid calling free() on known-null pointerDaniel Miller2021-12-101-1/+0
* Use __builtin_unreachable(). [skip ci]Denis Ovsienko2021-08-061-8/+3
* Squelch a few warnings on AIX. [skip appveyor]Denis Ovsienko2021-07-301-0/+12
* Fix compiling on Solaris 9.Denis Ovsienko2021-07-201-1/+1
* Revert "Don't wrap chunks of headers with extern "C" { ... }."Guy Harris2021-03-171-2/+2
* Don't wrap chunks of headers with extern "C" { ... }.Guy Harris2021-03-171-2/+2
* 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