summaryrefslogtreecommitdiff
path: root/optimize.c
Commit message (Expand)AuthorAgeFilesLines
* Cleaning spacesFrancois-Xavier Le Bail2019-11-091-6/+6
* With MSVC, abort if _BitScanForward() returns 0.Guy Harris2019-10-081-1/+1
* Removing null check before freePhilippe Antoine2019-06-201-12/+6
* No free in opt_init, rather in opt_cleanupPhilippe Antoine2019-06-201-30/+0
* Fixes bould free in opt_cleanupPhilippe Antoine2019-06-201-6/+27
* Don't call setjmp in code we didn't write.Guy Harris2018-10-311-0/+1
* Fix compiling with optimizer debugging enabled.Guy Harris2018-10-311-16/+23
* Handle negation in a way that doesn't upset compilers or UBSan.Guy Harris2018-10-311-1/+17
* Don't longjmp out of the generated parser.Guy Harris2018-10-311-69/+107
* Cast the LHS if bit shifts to bpf_u_int32 to avoid undefined behavior.Guy Harris2018-10-311-4/+4
* Catch shifts > 31 bits generated by the optimizer.Guy Harris2018-10-241-0/+10
* Catch another place where we divide by or take a modulus by zero.Guy Harris2018-10-191-2/+16
* Plug some memory leaks.Guy Harris2018-10-181-16/+83
* Don't shift by more than 31 bit positions.Guy Harris2018-10-171-2/+30
* 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
* Get rid of unused variable.Guy Harris2017-09-231-1/+0
* Fix copy-and-pasteo.Guy Harris2017-09-221-1/+1
* Clean up the "find first bit set" stuff.Guy Harris2017-09-221-25/+70
* Use _BitScanForward (MSVC) and __builtin_ffs (MinGW) functions for ffsAli Abdulkadir2017-09-211-6/+18
* Make it clearer where we're testing whether a value is unknown.Guy Harris2017-09-171-4/+5
* Merge pull request #613 from mkubecek/mk/master/opt-unknownGuy Harris2017-09-171-1/+1
|\
| * optimizer: replacing unknown value with unknown value is not a no-opMichal Kubecek2017-09-171-1/+1
* | That eliminates the need for a structure tag.Guy Harris2017-09-171-1/+1
* | Make opt_state_t private to optimize.c.Guy Harris2017-09-171-2/+2
* | optimizer: show edges in dot graphMichal Kubecek2017-09-171-2/+0
|/
* Get rid of pcap-stdinc.h.Guy Harris2017-09-051-3/+0
* Put the stuff to get the sized integer types defined into pcap-types.h.Guy Harris2017-09-041-10/+1
* Always include <config.h> rather than "config.h".Guy Harris2017-08-181-1/+1
* Rename a variable to avoid a warning.Guy Harris2016-08-111-3/+3
* Check for, and squelch, signed vs. unsigned comparison errors.Guy Harris2016-07-251-4/+4
* Make a variable to which unsigned values are assigned unsigned.Guy Harris2016-07-241-2/+2
* Don't use global state for the BPF compiler.Guy Harris2016-02-111-366/+375
* Have routines to set various internal debugging flags.Guy Harris2015-12-301-9/+11
* Use pcap_snprintf() instead of snprintf().Guy Harris2015-11-031-2/+2
* Define ffs() in optimize.c; that's all that uses it.Guy Harris2015-09-231-1/+19
* The official #define for 32-bit and 64-bit Windows is _WIN32.Guy Harris2015-08-311-4/+4