summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2016-03-04Fix commentsPeter Bex
2016-03-04Add another real-world example code. Rename ldx to ldxb for the MSH hack, ↵Peter Bex
to more closely match tcpdump-generated output
2016-03-04Fix a few problems with the jump instructions (forgot to add #x05 to all of ↵Peter Bex
the conditional ones, too), make uint? and label? also recognise zero as valid and fix error expression of disassembler. Implement back-and-forth transcoding of tcpdump's "decimal encoding" output of compiled packet matching instructions (using -ddd). Fixed a few bugs I ran into with bitstring, so depend on the version to be released next (this code triggers error situations in the current version)
2013-05-04Initial version of BPF assembler/disassembler with a handful of basic ↵Peter Bex
internal consistency tests