Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-11-18 | Tests for backtrace.c | Nick Mathewson | |
These need to be a separate executable, since the point of backtrace.c is that it can crash and write stuff. | |||
2013-11-18 | Unit tests for new functions in log.c | Nick Mathewson | |
2013-11-18 | Make backtrace handler handle signals correctly. | Nick Mathewson | |
This meant moving a fair bit of code around, and writing a signal cleanup function. Still pretty nice from what I can tell, though. | |||
2013-11-18 | Use pc_from_ucontext.m4 from Google Performance Tools | Nick Mathewson | |
This M4 module lets us learn the right way (out of at least 18 possibilities) to extract the current PC for stack-trace-fixup-in-signal purposes. The Google Performance Tools license is 3-clause BSD. | |||
2013-11-18 | Improve new assertion message logging | Nick Mathewson | |
Don't report that a failure happened in the assertion_failed function just because we logged it from there. | |||
2013-11-18 | Add a sighandler-safe logging mechanism | Nick Mathewson | |
We had accidentially grown two fake ones: one for backtrace.c, and one for sandbox.c. Let's do this properly instead. Now, when we configure logs, we keep track of fds that should get told about bad stuff happening from signal handlers. There's another entry point for these that avoids using non-signal-handler-safe functions. | |||
2013-11-18 | On Linux (and some other systems) we need -rdynamic for backtraces | Nick Mathewson | |
2013-11-18 | Basic backtrace ability | Nick Mathewson | |
On platforms with the backtrace/backtrace_symbols_fd interface, Tor can now dump stack traces on assertion failure. By default, I log them to DataDir/stack_dump and to stderr. | |||
2013-07-19 | Refactor the assertion-failure code into a function | Nick Mathewson | |
2013-07-19 | Add a signal-safe decimal formatting function | Nick Mathewson | |
2013-07-19 | Whoops; check in test_circuitmux.c | Nick Mathewson | |
2013-07-19 | Merge branch 'bug9296' | Nick Mathewson | |
2013-07-19 | Regression test for destroy cell queue | Nick Mathewson | |
This exercises the code that crashed and caused #9296. | |||
2013-07-19 | Initialize destroy_cell_queue. | Nick Mathewson | |
Likely fix for the crash bug of #9296, which was introduced through a combination of #7912 and #8586. Bugfix not in any released Tor. | |||
2013-07-18 | Merge remote-tracking branch 'origin/maint-0.2.4' | Nick Mathewson | |
2013-07-18 | Merge remote-tracking branch 'public/bug9295_023' into maint-0.2.4 | Nick Mathewson | |
2013-07-18 | Fix for bug 9295: Don't crash when running --hash-password. | Nick Mathewson | |
Fix on 0.2.4.15-rc; I'm doing this branch against 0.2.3, since we're considering #9122 for an 0.2.3 backport, and if we do, we should merge this too. | |||
2013-07-18 | tmp | Nick Mathewson | |
2013-07-18 | Start of a unit test for options_validate. | Nick Mathewson | |
I added this so I could write a unit test for ServerTransportOptions, but it incidentally exercises the succeed-on-defaults case of options_validate too. | |||
2013-07-18 | Merge branch 'simpleq_for_cells_3' | Nick Mathewson | |
2013-07-18 | Add a test for n_cells_in_circuit_queues | Nick Mathewson | |
2013-07-18 | Unit tests for cell queues. | Nick Mathewson | |
This removes some INLINE markers from functions that probably didn't need them. | |||
2013-07-18 | Use TOR_SIMPLEQ for packed_cell_t | Nick Mathewson | |
2013-07-18 | Remove a redundant declaration | Nick Mathewson | |
2013-07-18 | Remove a stray debugging echo from configure.ac | Nick Mathewson | |
2013-07-18 | Fix a wide line in test_pt.c | Nick Mathewson | |
2013-07-18 | Merge branch 'bug8978_rebase_2' | Nick Mathewson | |
Conflicts: src/test/test_pt.c | |||
2013-07-18 | Merge branch 'bug8929_rebase_2' | Nick Mathewson | |
2013-07-18 | Improve test coverage of 8929 code | Nick Mathewson | |
2013-07-18 | Fix memory leaks in test_config_parse_transport_options_line | Nick Mathewson | |
2013-07-18 | Document what "escape" means in tor_escape_str_for_pt_args | Nick Mathewson | |
2013-07-18 | Insert the environment variable only if we have options to pass. | George Kadianakis | |
2013-07-18 | Add changes file and enrich the manual page. | George Kadianakis | |
2013-07-18 | Place the options in the environment after processing them properly. | George Kadianakis | |
2013-07-18 | Rename tor_escape_str_for_socks_arg() to something more generic. | George Kadianakis | |
Since we are going to be using that function to also escape parameters passed to transport proxies using environment variables. | |||
2013-07-18 | Pass characters to be escaped to tor_escape_str_for_socks_arg(). | George Kadianakis | |
This is in preparation for using tor_escape_str_for_socks_arg() to escape server-side pluggable transport parameters. | |||
2013-07-18 | Write unit tests for the ServerTransportOptions parsing function. | George Kadianakis | |
2013-07-18 | Write function that parses ServerTransportOptions torrc lines. | George Kadianakis | |
And use it to validate them. | |||
2013-07-18 | Add a basic unit test for pt_get_extra_info_descriptor_string. | Nick Mathewson | |
2013-07-18 | Add a unit test for smethod lines with arguments. | Nick Mathewson | |
2013-07-18 | Write transport ARGS to extra-info descriptor. | George Kadianakis | |
2013-07-18 | Extract ARGS from SMETHOD line and attach them to transport. | George Kadianakis | |
2013-07-16 | A python script to combin gcov output with git blame | Nick Mathewson | |
2013-07-16 | Merge remote-tracking branch 'origin/maint-0.2.4' | Nick Mathewson | |
2013-07-16 | Re-do a cast in order to make old buggy freebsd gcc happy | Nick Mathewson | |
Fix for #9254. Bugfix on 0.2.4.14-alpha. This is not actually a bug in the Tor code. | |||
2013-07-16 | Merge remote-tracking branch 'asn/bug9265' | Nick Mathewson | |
2013-07-16 | Remove an unused variable in test_replaycache_scrub | Nick Mathewson | |
2013-07-16 | Make contrib/coverage smarter about check file-existence edge cases | Andrea Shepard | |
2013-07-16 | Add more replaycache.c unit tests, bringing coverage to 100% for that file | Andrea Shepard | |
2013-07-16 | Eliminate an impossible case in replaycache_scrub_if_needed_internal() | Andrea Shepard | |