summaryrefslogtreecommitdiff
path: root/src/common/util_bug.c
AgeCommit message (Collapse)Author
2018-06-22Move util_bug into libtor-logNick Mathewson
2018-06-22Remove util_bug dependency on compat.hNick Mathewson
2018-06-22Automated fixup of include paths after torlog.h movement.Nick Mathewson
2018-06-22Extract smartlist.h from container.hNick Mathewson
2018-06-22Remove bloom filters, order statistics, and bitarrays from container.hNick Mathewson
2018-06-22Rectify include paths after container split (automatic)Nick Mathewson
2018-06-21Simplify include structure of container.[ch]Nick Mathewson
2018-06-21Rectify include paths (automated)Nick Mathewson
2018-06-20Run rectify_include_paths.pyNick Mathewson
2018-06-20Update copyrights to 2018.Nick Mathewson
2017-09-15Run our #else/#endif annotator on our source code.Nick Mathewson
2017-07-28Coverity deadcode shenanigans on BUG() macro.Nick Mathewson
We don't actually want Coverity to complain when a BUG() check can never fail, since such checks can prevent us from introducing bugs later on. Closes ticket 23054. Closes CID 1415720, 1415724.
2017-03-15Run the copyright update script.Nick Mathewson
2016-10-27Automated change to use smartlist_add_strdupovercaffeinated
Use the following coccinelle script to change uses of smartlist_add(sl, tor_strdup(str)) to smartlist_add_strdup(sl, string) (coccinelle script from nickm via bug 20048): @@ expression a; expression b; @@ - smartlist_add + smartlist_add_strdup (a, - tor_strdup( b - ) )
2016-09-08Treat all nonfatal assertion failures as unit test failures.Nick Mathewson
Part of 19999.
2016-09-06Add facility to suppress/capture tor_bug_occurred_() messages in unit tests.Nick Mathewson
2016-04-14Add a BUG macro for usage in if checks.Nick Mathewson
2016-04-14Add new tor_assert_nonfatal*() macros.Nick Mathewson
Unlike tor_assert(), these macros don't abort the process. They're good for checking conditions we want to warn about, but which don't warrant a full crash. This commit also changes the default implementation for tor_fragile_assert() to tor_assert_nonfatal_unreached_once(). Closes ticket 18613.
2016-04-04Move tor_assert implementation into its own header/module.Nick Mathewson