tor/src/or
Nick Mathewson 17e9fc09c3 Coverage support: build with --enable-coverage to have tests run with gcov
If you pass the --enable-coverage flag on the command line, we build
our testing binaries with appropriate options eo enable coverage
testing.  We also build a "tor-cov" binary that has coverage enabled,
for integration tests.

On recent OSX versions, test coverage only works with clang, not gcc.
So we warn about that.

Also add a contrib/coverage script to actually run gcov with the
appropriate options to generate useful .gcov files.  (Thanks to
automake, the .o files will not have the names that gcov expects to
find.)

Also, remove generated gcda and gcno files on clean.
2013-07-10 15:22:16 -04:00
..
addressmap.c Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
addressmap.h Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
buffers.c Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
buffers.h Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
channel.c Fix bug 9082: avoid leak when freeing destroy cell queues 2013-06-17 11:30:56 -04:00
channel.h Fix bug 9082: avoid leak when freeing destroy cell queues 2013-06-17 11:30:56 -04:00
channeltls.c Fix a framing bug when reading versions from a versions cell. 2013-03-11 12:29:28 -04:00
channeltls.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
circuitbuild.c Bug 8235: Fix scaling adjustments. 2013-04-24 22:03:02 -04:00
circuitbuild.h Downgrade an assert to LD_BUG 2013-02-19 15:02:08 -05:00
circuitlist.c Merge remote-tracking branch 'origin/maint-0.2.4' 2013-06-18 10:25:30 -04:00
circuitlist.h Merge remote-tracking branch 'origin/maint-0.2.4' 2013-06-18 10:25:30 -04:00
circuitmux_ewma.c Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
circuitmux_ewma.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
circuitmux.c Fix bug 9082: avoid leak when freeing destroy cell queues 2013-06-17 11:30:56 -04:00
circuitmux.h Fix bug 9082: avoid leak when freeing destroy cell queues 2013-06-17 11:30:56 -04:00
circuitstats.c Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
circuitstats.h Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
circuituse.c Don't relax the timeout for already opened 1-hop circuits. 2013-03-29 12:17:05 -04:00
circuituse.h Stop frobbing timestamp_dirty as our sole means to mark circuits unusable 2013-02-19 18:29:17 -05:00
command.c Fix 8447: use %u to format circid_t. 2013-03-10 19:52:06 -04:00
command.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
config_codedigest.c Resolve about 24 DOCDOCs 2012-06-05 00:17:54 -04:00
config.c Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
config.h Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
confparse.c Tweak #6752 patch based on comments by nickm. 2013-05-24 10:28:31 +02:00
confparse.h Lower dir fetch retry schedules in testing networks. 2013-05-16 12:08:48 +02:00
connection_edge.c Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
connection_edge.h Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
connection_or.c Fix 8447: use %u to format circid_t. 2013-03-10 19:52:06 -04:00
connection_or.h Merge remote-tracking branch 'public/wide_circ_ids' 2013-02-15 16:23:43 -05:00
connection.c Tweak fix for #8789 a bit; avoid double-close and add changes file 2013-05-24 12:23:21 -04:00
connection.h Validate SOCKS arguments. 2013-02-09 16:30:16 +00:00
control.c Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
control.h Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
cpuworker.c Check return values from fcntl and setsockopt 2013-03-18 14:28:38 -04:00
cpuworker.h Merge branch 'time_based_onionqueue_v2' of ssh://git-rw.torproject.org/nickm/tor 2013-01-24 08:10:12 -08:00
directory.c Tweak #6752 patch based on comments by nickm. 2013-05-24 10:28:31 +02:00
directory.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
dirserv.c Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
dirserv.h Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
dirvote.c Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
dirvote.h Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
dns.c Rename log() to tor_log() for logging 2013-02-01 15:43:37 -05:00
dns.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
dnsserv.c When launching a resolve request on behalf of an AF_UNIX control, omit the address field of the new entry connection. Fixes bug 8639. 2013-05-31 15:35:51 -07:00
dnsserv.h Fix some wide lines 2013-03-18 15:39:11 -04:00
entrynodes.c Merge remote-tracking branch 'origin/maint-0.2.4' 2013-04-24 22:05:41 -04:00
entrynodes.h Merge remote-tracking branch 'asn/bug3594_rebased_and_fixed' 2013-03-19 13:25:45 -04:00
eventdns_tor.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
fp_pair.c Implement fp_pair_map_t 2013-05-09 10:54:55 -07:00
fp_pair.h Implement fp_pair_map_t 2013-05-09 10:54:55 -07:00
geoip.c Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
geoip.h Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
hibernate.c Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
hibernate.h Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
include.am Coverage support: build with --enable-coverage to have tests run with gcov 2013-07-10 15:22:16 -04:00
main.c Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
main.h Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
Makefile.nmake Merge bug5595-v2-squashed into maint-0.2.4 2013-05-10 19:39:48 -07:00
microdesc.c Merge remote-tracking branch 'origin/maint-0.2.4' 2013-06-13 21:59:27 -04:00
microdesc.h Log fname:lineno in log messages for #7164 2013-03-13 10:42:58 -04:00
networkstatus.c Lower dir fetch retry schedules in testing networks. 2013-05-16 12:08:48 +02:00
networkstatus.h Remove some totally unused functions 2013-02-23 23:31:31 -05:00
nodelist.c Make PathsNeededToBuildCircuits option work. 2013-03-28 09:32:19 -04:00
nodelist.h On END_REASON_EXITPOLICY, mark circuit as unusable for that address. 2013-03-11 23:37:47 -04:00
ntmain.c Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
ntmain.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
onion_fast.c Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
onion_fast.h Wrap more macro definitions in (parentheses) 2013-02-09 00:16:04 -05:00
onion_ntor.c Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
onion_ntor.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
onion_tap.c Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
onion_tap.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
onion.c Fix a warning when building with --disable-curve25519 2013-02-04 11:34:23 -05:00
onion.h Fix an MSVC warning in onion.h prototypes 2013-01-17 14:42:37 -05:00
or.h Merge remote-tracking branch 'origin/maint-0.2.4' 2013-06-18 10:25:30 -04:00
policies.c On END_REASON_EXITPOLICY, mark circuit as unusable for that address. 2013-03-11 23:37:47 -04:00
policies.h On END_REASON_EXITPOLICY, mark circuit as unusable for that address. 2013-03-11 23:37:47 -04:00
reasons.c When we get an END cell before CONNECTED, don't report SOCKS success 2013-01-16 12:09:49 -05:00
reasons.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
relay.c Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
relay.h Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
rendclient.c Fix 8447: use %u to format circid_t. 2013-03-10 19:52:06 -04:00
rendclient.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
rendcommon.c Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4 2013-06-18 14:45:29 -04:00
rendcommon.h Remove some totally unused functions 2013-02-23 23:31:31 -05:00
rendmid.c Fix 8447: use %u to format circid_t. 2013-03-10 19:52:06 -04:00
rendmid.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
rendservice.c Fix 8447: use %u to format circid_t. 2013-03-10 19:52:06 -04:00
rendservice.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
rephist.c Extract duplicate code in geoip and rephist. 2013-05-24 13:12:18 -04:00
rephist.h When we mark a node as a sybil, mark it down and reset its uptime to 0 2013-02-04 11:11:54 -05:00
replaycache.c Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
replaycache.h Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
router.c Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
router.h Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
routerlist.c Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
routerlist.h Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
routerparse.c Merge branch 'less_charbuf_rebased' into maint-0.2.4 2013-04-18 11:13:36 -04:00
routerparse.h Merge branch 'less_charbuf_rebased' into maint-0.2.4 2013-04-18 11:13:36 -04:00
routerset.c Fix typos in a few log messages 2013-03-10 22:59:19 -04:00
routerset.h When excluding nodes by country, exclude {??} and {A1} too 2013-01-17 18:07:36 -05:00
statefile.c Add EntryGuardPathUseBias to state file keyword list. 2013-02-01 17:01:26 -05:00
statefile.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
status.c Merge remote-tracking branch 'public/bug7302' into maint-0.2.4 2013-04-11 01:42:54 -04:00
status.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
tor_main.c Fix a comment in tor_main.c 2013-02-25 03:24:53 -05:00
transports.c Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
transports.h Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00