Commit graph

239 commits

Author SHA1 Message Date
Meredith L. Patterson
8d74686a7e minor changes 2012-05-26 19:15:56 +02:00
Dan Hirsch
d434f2c1a9 Example does something basic now 2012-05-26 19:14:26 +02:00
Meredith L. Patterson
8e9c480a45 Merge branch 'master' of peewee-vb.local:Projects/hammer/hammer 2012-05-26 16:09:24 +02:00
Dan Hirsch
c43b6d2f4c Forgot attr_bool 2012-05-26 16:05:01 +02:00
Dan Hirsch
100dadb77d Merge remote-tracking branch 'bunter/master' 2012-05-26 16:03:25 +02:00
Dan Hirsch
783be52ad9 Epsilon is now static 2012-05-26 16:02:50 +02:00
Dan Hirsch
f2def8fa05 Refactor ALL the things! 2012-05-26 16:00:43 +02:00
Meredith L. Patterson
3b336d0932 All helper functions for DNS parser done and compiling. 2012-05-26 15:59:06 +02:00
Meredith L. Patterson
0c324adaa6 Nearly done with RR parsing, need to write two helpers for this. 2012-05-26 15:50:39 +02:00
Dan Hirsch
6a2f10df0c Changed parsers to use vtables instead of just a function pointer 2012-05-26 15:15:38 +02:00
Meredith L. Patterson
6feb0ac547 Merge branch 'master' of peewee-vb.local:Projects/hammer/hammer 2012-05-26 14:42:08 +02:00
Meredith L. Patterson
fa0b73dd5e Fixed possible NULL dereference; fixed setupLR to use arena properly 2012-05-26 14:40:12 +02:00
Dan Hirsch
c76c97cfcd Allowed clang's scan-build to work 2012-05-26 14:36:36 +02:00
Meredith L. Patterson
d7818bb8c4 Great Symbol Renaming done; get_domain and set_rr stubbed 2012-05-26 14:27:12 +02:00
Meredith L. Patterson
56b8413b6d Merge remote-tracking branch 'peewee-vb/great-symbol-renaming' 2012-05-26 14:10:31 +02:00
Meredith L. Patterson
a077251947 get_qname done, starting get_domain, going to finish Great Symbol Renaming first 2012-05-26 14:10:09 +02:00
Dan Hirsch
0284c99f12 Renamed all the public functions 2012-05-26 14:06:52 +02:00
Meredith L. Patterson
5163f002cf Great Symbol Renaming: types. 2012-05-26 13:23:00 +02:00
Meredith L. Patterson
55d0ace87b Merge remote-tracking branch 'peewee-vb/great-symbol-renaming' 2012-05-26 13:17:29 +02:00
Meredith L. Patterson
595404e175 Three more helper functions and the DNS action is done. 2012-05-26 13:16:34 +02:00
Dan Hirsch
d7ba53b3b1 Fixed a bug in hush 2012-05-26 13:13:56 +02:00
Dan Hirsch
f462d5feb3 Finished renaming types 2012-05-26 13:13:41 +02:00
Dan Hirsch
199cde7058 Renamed more types 2012-05-26 13:01:23 +02:00
Dan Hirsch
b10ef575e2 Renamed token_type_t 2012-05-26 12:05:23 +02:00
Dan Hirsch
8cc526f13e Renamed parse state 2012-05-26 12:03:58 +02:00
Meredith L. Patterson
8959d6db07 action is all const all the time. Now to write the dns action. 2012-05-24 19:15:24 +02:00
Meredith L. Patterson
034b3a717f ignoring dns binary 2012-05-24 18:47:29 +02:00
Meredith L. Patterson
c7c21fcaab Merge branch 'master' of peewee-vb.local:Projects/hammer/hammer 2012-05-24 18:46:39 +02:00
Meredith L. Patterson
4226d67c26 DNS, refactored and compiling. Needs struct-building action written still. 2012-05-24 18:44:48 +02:00
Dan Hirsch
1bb27f6143 Added structs for DNS records 2012-05-24 17:57:20 +02:00
Dan Hirsch
40be28fb7e Merge remote-tracking branch 'bunter/master'
Also, fix makefile

Conflicts:
	src/hammer.c
2012-05-24 15:51:42 +02:00
Dan Hirsch
5d77c4307f Fix difference and butnot 2012-05-24 15:35:04 +02:00
Meredith L. Patterson
0d9497bce6 had qname wrong, fixed it 2012-05-24 13:58:38 +02:00
Meredith L. Patterson
3c51389eaf tidying up the dereferences a bit 2012-05-24 13:36:28 +02:00
Meredith L. Patterson
13395d8a54 counted_array now holds parsed_token_t's. TQ will fix the problem with accumulate_size. Compile-time bounds checks added to int_range. 2012-05-24 13:22:43 +02:00
Meredith L. Patterson
8e7a5cc2d3 getting the examples into the build, dns validator needs finished 2012-05-24 12:43:32 +02:00
Meredith L. Patterson
13fab7e49c int_range passes test 2012-05-24 12:23:55 +02:00
Meredith L. Patterson
7626f083f5 didn't actually need that check 2012-05-24 12:16:33 +02:00
Meredith L. Patterson
a1d6e60222 fixed int_range, too 2012-05-24 12:09:38 +02:00
Meredith L. Patterson
7ab9f7c92f Fixed problems stemming from renaming of range to ch_range 2012-05-24 12:00:23 +02:00
Meredith L. Patterson
947b67b5a5 Continuing with DNS. Added some checks to attr_bool, and explained checks in docs. 2012-05-24 11:01:18 +02:00
Dan Hirsch
56a5845674 Implemented and 2012-05-23 15:55:40 +02:00
Dan Hirsch
05ef58b958 Restore test_many to one iteration 2012-05-23 01:07:14 +02:00
Dan Hirsch
18f98515fd Revert 'fix' to test_int64 2012-05-23 01:06:40 +02:00
Dan Hirsch
2dd687ea66 Merge remote-tracking branch 'mlp/master' 2012-05-23 01:02:49 +02:00
Dan Hirsch
54b0f9f7b2 Fixed bitreader to work correctly for signed 64-bit integers 2012-05-23 01:02:31 +02:00
Meredith L. Patterson
3bb11afeac int64 test was wrong, fixed it 2012-05-22 16:10:40 +02:00
Meredith L. Patterson
f921ece53f action() works. Will finish DNS tomorrow. 2012-05-22 03:57:27 +02:00
Meredith L. Patterson
e2af24fe80 action() test fully written. But it segfaults. Debugging. 2012-05-22 02:55:00 +02:00
Meredith L. Patterson
2ccb9d4a36 DNS first draft mostly done, just need to write validator and action for full msg 2012-05-22 02:41:33 +02:00