Skip to content

Commit

Permalink
Write a description of this tool.
Browse files Browse the repository at this point in the history
  • Loading branch information
regehr committed Jun 28, 2011
1 parent fc6f6ec commit bf9f720
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions utah/scripts/reduce/c_delta.pl
@@ -1,9 +1,27 @@
#!/usr/bin/perl -w

# This Delta debugger specifically targets C code. Its design point --
# in two different senses -- is to be complementary to a line-based
# Delta like this one:
#
# http://delta.tigris.org/
#
# First, c_delta aims for maximum reduction and specifically targets
# transformations not available to a language-independent Delta
# debugger, such as reordering function calls.
#
# Second, c_delta is stupid in the sense that it generates a lot of
# invalid code and also most of its changes do not reduce program size
# by a large amount. Thus, it is best used as a second pass with a
# faster Delta like the Berkeley one trimming the obviously irrelevant
# code.

use strict;
use Regexp::Common;
use re 'eval';

# TODO:

# print stats for individual regexes

# watch for unexpected abnormal compiler outputs
Expand Down

0 comments on commit bf9f720

Please sign in to comment.