/external/mit/xorg/lib/libX11/

='author'>author
path: root/sys/net/bpfjit.c
AgeCommit message (Expand)Author
2020-02-01Fix wrong memory order and switch bpf to atomic_load/store_*.riastradh
2019-01-20Add missing include.alnsn
2016-07-29Don't trigger BJ_ASSERT(false) on invalid BPF_Jxxx opcode in jmp_to_op().alnsn
2016-05-29Adapt to the new version of sljit@r313.alnsn
2015-12-29Replace the nsaveds() function with #define NSAVEDS 3. No functional change.alnsn
2015-02-14Copyright year.alnsn
2015-02-14In some implementations pc->k is signed. Cast it to uint32_t before comparing.alnsn
2015-02-14Properly track initialisation of registers for BPF_JMP instructions.alnsn
2015-02-13Don't emit wrapped-around reads. They're dead code but dead code eliminationalnsn
2015-02-12Fix bugs found by afl fuzzer http://lcamtuf.coredump.cx/afl/.alnsn
2015-01-15rename variable to avoid conflict with "div"christos
2014-12-08Help gcc by initialising variablejustin
2014-11-20Implement BPF_MOD.alnsn
2014-11-20Implement BPF_ALU+BPF_MOD-BPF_K when pc->k is a power of 2. Get rid of divtalnsn
2014-11-20Follow argument convension of other emit_xxx() functions.alnsn
2014-11-19Add BPF_MOD/BPF_XOR (untested, needs work)christos
2014-07-26Don't use saved EREG registers because sljit 0.91 can generatealnsn
2014-07-24For P[X+0] load, don't emit wrap around check and copy X intead of emitting X+0.alnsn
2014-07-22Two tweaks: don't use a temporary register to dereference the err agrumentalnsn
2014-07-22Don't use scratch registers for X and to restore A after BPF_COPX call.alnsn
2014-07-13Refactor BPF_COPX code. New version doesn't load buf and buflen after copx call.alnsn
2014-07-13Don't use BJ_TMP2REG for 32bit packet reads. Assign this register to (buf+X)alnsn
2014-07-12emit_xcall: check overflow by comparing X with (UINT32_MAX - pk->k), restorealnsn
2014-07-12Initialise status to avoid -Wuninitialized warning.alnsn
2014-07-12Some small changes: add missing error checks; move sjump initialisation awayalnsn
2014-07-11Handle overflow in BPF_LD+BPF_IND for mbuf chains and make two minor changes:alnsn
2014-07-08Most filter programs in the kernel need 3 scratch registers.alnsn
2014-07-05Review some SLJIT_MOV instructions with respect to width.alnsn
2014-07-04Add optimization hints. They replace nscratches and ncopfuncs and improvealnsn
2014-07-01Move the main loop in bpfjit_generate_code() to a new function and make fewalnsn
2014-06-25Default initialize external memwords.alnsn
2014-06-25New jitcode takes two arguments.alnsn
2014-06-25Use SLJIT_MOV_P to copy extmem pointer.alnsn
2014-06-25bpfjit_generate_code: emit the instruction correctly.rmind
2014-06-24- Improve the comments in bpf.h and KNF a little.rmind
2014-06-24Implement copfuncs and external memory in bpfjit.alnsn
2014-06-17Update code to the latest sljit version.alnsn
2014-05-23Enable ABC optimization when one branch returns 0.alnsn
2014-05-23Loads at offsets UINT32_MAX or greater are unreachable.alnsn
2014-05-23Implement unconditional jump to "return 0" for loads at UINT32_MAX+1 or greater.alnsn
2014-05-22Some small changes in preparation for a bigger change.alnsn
2014-05-15Refactor bpfjit code.alnsn
2013-12-15XXXgcc Wuninitialized kludgepooka
2013-11-15Fix the bpfjit build.rmind
2013-11-15- Add bpf_args_t and convert bpf_filter_ext() to use it. This allows thermind
2013-09-20bpfjit: replace malloc with kmem, KNF a little, add RCS ID.rmind
2012-11-10Add RCSID and fix -Wsign-compare warnings.alnsn
2012-10-27Add bpfjit and enable it for amd64.alnsn