path: root/optimize.c
AgeCommit message (Expand)AuthorFilesLines
2010-01-26Include headers that should cause u_int64_t to be defined.Guy Harris1-0/+14
2008-01-02Make some arguments const pointers if that makes sense.guy1-1/+10
2007-09-27Added the prototype for ffs() when using the VC compiler.gianluca1-1/+5
2007-09-12From OpenBSD: use calloc() to avoid malloc(n * m) overflows.guy1-6/+6
2007-07-15So far, two people have submitted patches to "fix" the "memory leak" inguy1-1/+15
2007-06-11Pick up changes from NetBSD:guy1-8/+8
2005-07-31Add another optimization, now that 0.9[.x] is out (having fixed severalguy1-1/+12
2005-04-04Add a little more information to a comment.guy1-3/+5
2004-12-18From Gisle Vanem: MS-DOS support.guy1-1/+7
2004-11-14Expand some comments.guy1-3/+10
2004-11-14Shuffle comments around a bit.guy1-7/+14
2004-11-13Add some additional comments, and beef up some existing comments.guy1-13/+48
2004-11-09Add a few comments, and shuffle the definition of NOP to keep theguy1-5/+41
2004-11-08There are a bunch of optimizations we can only do in blocks that endguy1-27/+46
2004-11-07If a block loads a value into the index register with a value differentguy1-5/+24
2003-11-15Add _U_ to "rcsid[]" definitions, to eliminate "unused variable"guy1-2/+2
2003-03-08From clodder@acm.org, via OpenBSD: add checks for memory allocationguy1-1/+13
2002-08-12correct arg to calloc() - it is (nelem, size), not (size, nelem). from openbsditojun1-2/+2
2002-06-11whitespace cleanupitojun1-4/+4
2002-06-11tches #454 from yamt@mwd.biglobe.ne.jpitojun1-51/+38
2002-03-24<pcap.h> includes <sys/types.h> and <sys/time.h>; there's no need toguy1-4/+1
2001-11-12Eliminate duplicate prototypes.fenner1-4/+1
2001-11-12Optimize out "jset #0" (always false) and "jset #ffffffff" (always true).fenner1-1/+11
2001-11-12Don't optimize away "sub #0" as it may be required to recognizefenner1-2/+5
2001-10-13Add some optimizer debugging (not compiled by default)fenner1-4/+20
2000-11-19netbsd 1.5 -> 1.6itojun1-2/+5
2000-10-28Fix from Jefferson Ogata <jogata@nodc.noaa.gov> - "count_stmts()" wasn'tguy1-2/+16
2000-10-28When attaching a "bpf_program" to a "pcap_t" to use as a userlandguy1-1/+33
2000-09-06repair argument mismatch to malloc().itojun1-2/+2
2000-07-11add config.h, remove gnuc.h. remove __deadassar1-2/+5
2000-04-27do not use sprintf(). always use snprintf().itojun1-2/+2
1999-10-19IPv6 packet filtering code.itojun1-1/+87
1999-10-07Initial revisionmcr1-0/+2004