aboutsummaryrefslogtreecommitdiff
path: root/optimize.c
AgeCommit message (Expand)Author
2023-02-15Fix spaces before tabs in indentationFrancois-Xavier Le Bail
2022-08-27Fix some typosFrancois-Xavier Le Bail
2022-07-10Fix some typosFrancois-Xavier Le Bail
2022-02-20Avoid calling free() on known-null pointerDaniel Miller
2022-02-20Use __builtin_unreachable(). [skip ci]Denis Ovsienko
2022-02-20Squelch a few warnings on AIX. [skip appveyor]Denis Ovsienko
2022-02-20Fix compiling on Solaris 9.Denis Ovsienko
2020-12-12Fix some typosFrancois-Xavier Le Bail
2020-10-12Restore "iff" (revert 824aa78). [skip ci]Denis Ovsienko
2020-08-10Fix typosFrancois-Xavier Le Bail
2020-06-17ptimize: move the definition of extrajmps to the block in which it's used.Guy Harris
2020-06-17optimize: remove unnecessary tests.Guy Harris
2020-05-29optimizer: add a sanity check to make sure the program isn't empty.Guy Harris
2020-05-22optimize: clean up comment.Guy Harris
2020-05-22optimize: add a bunch of overflow checks.Guy Harris
2020-05-21optimize: fix some of those changes.Guy Harris
2020-05-21optimize: make some variables unsigned.Guy Harris
2020-05-21Fix minor comment typo.Guy Harris
2020-05-18optimizer: add a hack to try to catch certain optimizer loops.Guy Harris
2020-05-17optimize: use BITS_PER_WORD rather than calculating it.Guy Harris
2020-05-17optimize: use JT() rather than explicitly referring to et.succ.Guy Harris
2020-05-17gencode/optimize: add a bunch of comments.Guy Harris
2020-01-19Use more HTTPS in URLsFrancois-Xavier Le Bail
2019-11-08Cleaning spacesFrancois-Xavier Le Bail
2019-10-03With MSVC, abort if _BitScanForward() returns 0.Guy Harris
2019-08-09Remove some workarounds for old compilers.Guy Harris
2019-06-16Removing null check before freePhilippe Antoine
2019-06-16No free in opt_init, rather in opt_cleanupPhilippe Antoine
2019-06-15Fixes bould free in opt_cleanupPhilippe Antoine
2019-01-23Clean up some whitespacesFrancois-Xavier Le Bail
2018-11-22Throw in a cast to squelch a warning.Guy Harris
2018-11-22Clean up signed vs. unsigned, do more error checking in the parser.Guy Harris
2018-10-27Don't call setjmp in code we didn't write.Guy Harris
2018-10-26Fix compiling with optimizer debugging enabled.Guy Harris
2018-10-26Handle negation in a way that doesn't upset compilers or UBSan.Guy Harris
2018-10-25Don't longjmp out of the generated parser.Guy Harris
2018-10-22Catch shifts > 31 bits generated by the optimizer.Guy Harris
2018-10-18Catch another place where we divide by or take a modulus by zero.Guy Harris
2018-10-17Plug some memory leaks.Guy Harris
2018-10-16Don't shift by more than 31 bit positions.Guy Harris
2018-08-31Clean up the declaration of the packet-filtering routines.Guy Harris
2018-07-12Cast the LHS if bit shifts to bpf_u_int32 to avoid undefined behavior.Guy Harris
2018-06-21Do unsigned shifts.Guy Harris
2018-05-03Add -Wformat-nonliteral and fix most warnings that come upJoerg Mayer
2018-05-03Have separate flags for "optimizer debug" and "print DOT graph".Guy Harris
2018-04-25Do bounds checking on references to the bids array.Guy Harris
2018-03-28Fix the -Wunused-parameter warnings that have obvious fixesJoerg Mayer
2018-03-22Add casts to finish eliminating those warnings.Guy Harris
2018-03-22Check for too-large conditional jump offsets.Guy Harris
2018-03-20Squelch some warnings.Guy Harris