breakpad/src
Gabriele Svelto a9fca58305 Make minidump name generation on Linux as random as possible
This patch ensures that two crashes taken within the same second have
different minidump names. The random characters used in the minidump
filename are now read from /dev/urandom where possible or generated via
arc4random(). If neither is available we fall back to regular rand() but
mixing the address of an object to the current time when generating the
random seed to make it slightly less predictable.

BUG=681

Change-Id: I2e97454859ed386e199b2628d6b7e87e16481b75
Reviewed-on: https://chromium-review.googlesource.com/445784
Reviewed-by: Mike Frysinger <vapier@chromium.org>
2017-04-12 18:51:24 +00:00
..
build Rename gyp variable use_titlecase_in_grd_files -> use_titlecase_in_grd. 2014-09-10 12:47:46 +00:00
client Treat the process stack as the top of memory for free space histograms. 2017-03-29 10:42:31 +00:00
common Make minidump name generation on Linux as random as possible 2017-04-12 18:51:24 +00:00
google_breakpad minidump_dump: dump stack memory like hexdump 2017-03-24 16:22:21 +00:00
processor Increase maximum number of threads for minidump_stackwalk. 2017-03-28 19:41:00 +00:00
third_party libdisasm: add upstream/license details 2017-02-14 11:07:42 +00:00
tools Dump MH_DYLINKER images in upload_system_symbols. 2017-03-30 03:31:20 +00:00
breakpad_googletest_includes.h test: allow use of system gmock/gtest libs 2016-01-25 19:27:56 -05:00
config.h.in Make minidump name generation on Linux as random as possible 2017-04-12 18:51:24 +00:00