• Home
  • History
  • Annotate
  • only in /external/google-breakpad/src/tools/
History log of /external/google-breakpad/src/tools/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ff9800f4449276ec5e76e36f443073b882ea514a 09-Nov-2015 Lee Campbell <leecam@google.com> dump_syms: Add -v verbose flag

dump_syms generates a lot of warnings.
This CL puts logging behind a command line flag

BUG=25460551

Change-Id: Iab2ea1a255b64c07b2bf9c748947e328e9688f7c
inux/dump_syms/dump_syms.cc
dbb392886ffce4fd927b826080b4faff49965f10 24-Aug-2015 Gordana Cmiljanovic <Gordana.Cmiljanovic@imgtec.com> MIPS64: Initial MIPS64 related change.

CHERRY-PICKED FROM:
https://code.google.com/p/google-breakpad/source/detail?r=1446

With this change Breakpad can be compiled for MIPS64,
but it is not yet functional.

Review URL: https://breakpad.appspot.com/6824002

Change-Id: I95c58b6b2ffc9ba98d3fe29f1a9f6b12fff02479
inux/md2core/minidump-2-core.cc
c5462ff941762de8737767c9af75fdf2aef5c1bf 11-Dec-2014 jessicag.feedback@gmail.com <jessicag.feedback@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> Add microdump files to project.


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1411 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/crash_report.xcodeproj/project.pbxproj
e2f4be928865f991e7177248bc4daadb0bd4aed0 11-Dec-2014 mdempsky@chromium.org <mdempsky@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Remove pointers from serialized file format

BUG=breakpad:621
R=thestig@chromium.org

Review URL: https://breakpad.appspot.com/1764002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1410 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/md2core/minidump-2-core.cc
c5edab4aba29171b5adf0876e59f242072b419c7 17-Nov-2014 ivanpe@chromium.org <ivanpe@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Add parameter --product to symupload.exe

Adding an optional parameter --product to symupload.exe. If specified it will be passed to the symbol server as POST parameter 'product'.

As part of this, I'm also fixing:
- Removed the .vcproj file as it can be generated from the .gyp file on demand.
- error C4335: Mac file format detected. Fixed the line endings for omap.cc and dia_util.cc.
- warning C4003: not enough actual parameters for macro 'max'

Symupload.exe was compiled using MSVS 2013 and DIA SDK 12.0.

Review URL: https://breakpad.appspot.com/9734002/



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1402 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/binaries/symupload.exe
indows/symupload/symupload.cc
indows/symupload/symupload.vcproj
880d444fc437a32e9ffc4c1dbea28ae61c37b196 05-Nov-2014 mark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Fix UMR and potential crash in Mac dump_syms.

Patch by Robert Sesek <rsesek@chromium.org>

BUG=https://code.google.com/p/google-breakpad/issues/detail?id=614
R=mark@chromium.org

Review URL: https://breakpad.appspot.com/9724002/


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1401 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/dump_syms/dump_syms_tool.mm
de9fe36b16a45972571b9d650633fe5cb156b536 03-Nov-2014 ted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> Fix Windows client compilation on mingw.
A=Jacek Caban <jacek@codeweavers.com>, R=ted at http://breakpad.appspot.com/548002/

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1399 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/converter/ms_symbol_server_converter.cc
indows/converter/ms_symbol_server_converter.h
indows/symupload/symupload.cc
4ab1a1b8d706dbec45fbdaeed2c779595153100d 16-Sep-2014 mmandlis@chromium.org <mmandlis@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Making the Mac build of crash_report work again after the last SVN sync



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1376 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/crash_report.xcodeproj/project.pbxproj
c5e242b8cd4280db5162e5a3084f2dc9e16e8ffb 08-Sep-2014 mmandlis@chromium.org <mmandlis@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Extract DumpContext base class from MinidumpContext

This is a pure refactoring in preparation of the Microdump(s)
(which will be introduced by later CL). No behavioral change is
intended.
This change removes the MinidumpContext -> MinidumpStream
inheritance (which is not actually needed as MinidumpContexts
are never stored to streams) and extracts a base class
(DumpContext) out of it.
Similarly, ProcessResult is moved out to its own class.

BUG=chromium:410294

Review URL: https://breakpad.appspot.com/5684002/


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1370 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/crash_report.mm
3fa3c2ec2a46c4fa9ad283613d4ec91c2412d336 31-Jul-2014 rsesek@chromium.org <rsesek@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> upload_system_symbols: Use the Go1.3 improvements to debug/macho.

This removes the custom MachO header reading functionality, since the stdlib can
now read Fat files.

R=andybons@chromium.org, mark@chromium.org

Review URL: https://breakpad.appspot.com/10684002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1360 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/upload_system_symbols/arch_constants.h
ac/upload_system_symbols/arch_reader.go
ac/upload_system_symbols/arch_reader_test.go
ac/upload_system_symbols/testdata/Makefile
ac/upload_system_symbols/testdata/archtest.c
ac/upload_system_symbols/upload_system_symbols.go
e6d9e3c9ded44086b8648d633ab0676adc659bd5 25-Jul-2014 rsesek@chromium.org <rsesek@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> In Mac dump_syms, allow reading debug data out of both the Mach-O file and the dSYM.

This adds a new |-g <dSYM path>| flag to dump_syms, to specify the dSYM path for
the target Mach-O argument. The UUIDs and architectures of the two paths must
match in order to dump symbols for this "split module."

This reason for this is that for x86_64 binaries on OS X, the CFI data is stored
in the __TEXT,__eh_frame segment of the Mach-O file, and the data is not copied
into the dSYM by dsymutil. Therefore, just dumping the dSYM doesn't yield CFI
data for x86_64 files, and both the dSYM and the Mach-O file must be dumped in
order to produce a complete Breakpad symbol file. For i386 binaries, the CFI data
is stored in the __DWARF,__debug_frame segment, which is part of the dSYM, so
this isn't necessary.

BUG=https://code.google.com/p/chromium/issues/detail?id=393594
R=mark@chromium.org

Review URL: https://breakpad.appspot.com/6704002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1359 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/dump_syms/dump_syms_tool.mm
adfd1257d0313a2da2773a6673eba846af512a4a 24-Jul-2014 rsesek@chromium.org <rsesek@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Add GYP build for the src/tools directory on Mac and Linux.

This GYP-ifies the src/processor and src/common directories on those platforms
as well. The Makefile build uses much more granular unittest executables, so
the new processor_unittests does not yet link because of multiple main() symbols,
but this will be fixed later.

Update issue 575

R=mark@chromium.org

Review URL: https://breakpad.appspot.com/10674002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1358 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/tools_linux.gypi
ac/crash_report/on_demand_symbol_supplier.mm
ac/tools_mac.gypi
ools.gyp
dd5dd85f3795609723082a2b34f81e19b4f1679f 22-Jul-2014 rmcilroy@chromium.org <rmcilroy@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Chrome on Android now supports loading the shared library directly from the APK file.

This patch makes two changes to breakpad to enable crash reporting to work correctly when the library is inside another file (an archive):

- Do not filter mappings which map an executable at a non-zero offset.
- If such an executable is mapped look in the ELF information for the
shared object name and use that name in the minidump.

Note this change doesn't care about the archive format and isn't Android
specific (though loading the shared library this way is currently only done on Android).

BUG=390618
R=thestig@chromium.org

Review URL: https://breakpad.appspot.com/7684002

Patch from Anton Carver <anton@chromium.org>.

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1355 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/md2core/minidump-2-core.cc
e39b745b13ccf0b9e0619da2d599a5018a2f531a 23-Apr-2014 wfh@chromium.org <wfh@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Change PrintFunctions to print functions in address order and not print duplicate public functions.

BUG=427
R=mark@chromium.org

Review URL: https://breakpad.appspot.com/1634002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1319 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/dump_syms/testdata/dump_syms_regtest.sym
indows/dump_syms/testdata/dump_syms_regtest64.sym
indows/dump_syms/testdata/omap_reorder_bbs.sym
indows/dump_syms/testdata/omap_reorder_funcs.sym
indows/dump_syms/testdata/omap_stretched.sym
indows/dump_syms/testdata/omap_stretched_filled.sym
af0cd7cb05ea70d6c19ec83235b7a87e735d2b27 18-Apr-2014 thestig@chromium.org <thestig@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> minidump-2-core: Allow user to override shared lib basedir.

This CL introduces "--sobasedir" command-line option to minidump-2-core.
By default, paths to shared lib files included in generated core file are
formatted as "/var/lib/breakpad/[GUID]libFoobar.so". By using "--sobasedir",
this will be "[user-supplied-path]libFoobar.so".

This option can be used to ease debugging minidump files from developer's local
builds. By specifying "minidump-2-core --sobasedir `pwd`/out/Debug/lib/
foobar.mdmp", user can load the generated core file in gdb without setting up
the symlinks for "/var/lib/breakpad".

BUG=None
A=kouhei@chromium.org

Original code review: https://breakpad.appspot.com/1214002/

R=kouhei@chromium.org

Review URL: https://breakpad.appspot.com/1584002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1317 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/md2core/minidump-2-core.cc
d8b5964d62186c00ea958ebb0eab84a3924c3546 17-Apr-2014 wfh@chromium.org <wfh@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Change the way function and public symbols are obtained to use the findChildren DIA function.

This has a substantial performance improvement over using the getSymbolsByAddr iterator, especially on certain 64bit DLLS. e.g. Time to process chrome_child.dll drops from 51 minutes to 21 secs.

Note: new test data looks different because the ordering of lines is no longer by memory address. This does not affect processing. The test data has been manually compared to old data and matches (except additional PUBLIC symbols). Also, INFO lines are omitted because the source executable files are not checked in, so they are unavailable.

R=ivanpe@chromium.org, mark@chromium.org

Review URL: https://breakpad.appspot.com/1574002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1316 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/dump_syms/testdata/dump_syms_regtest.sym
indows/dump_syms/testdata/dump_syms_regtest64.sym
indows/dump_syms/testdata/omap_reorder_bbs.sym
indows/dump_syms/testdata/omap_reorder_funcs.sym
indows/dump_syms/testdata/omap_stretched.sym
indows/dump_syms/testdata/omap_stretched_filled.sym
4d319234524060c89fb483365af7dc3045281a9e 16-Apr-2014 wfh@chromium.org <wfh@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Allow symupload to upload to multiple URLs on the same command line.

R=mark@chromium.org

Review URL: https://breakpad.appspot.com/1554002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1315 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/symupload/symupload.cc
0a35290a4ecafc23215c2df491f7093f18fcda97 10-Apr-2014 ivan.penkov@gmail.com <ivan.penkov@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> Adding support for 64-bit Windows modules to ms_symbol_server_converter.

As part of that:
- Updated MSSymbolServerConverter to also download the executable files from the symbol server and pass them to the PDBSourceLineWriter as it is required for successful conversion of symbols for 64-bit modules.
- Added a .gyp file and target for the ms_symbol_server_converter library.
- Updated PDBSourceLineWriter to allow executable files to be in locations different from the locations of the PDB files.
- Minor style issue:
* #define guards.
* No space before ')' and after '('.

R=mark@chromium.org, wfh@chromium.org

Review URL: https://breakpad.appspot.com/1434002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1309 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/converter/ms_symbol_server_converter.cc
indows/converter/ms_symbol_server_converter.gyp
indows/converter/ms_symbol_server_converter.h
indows/converter/ms_symbol_server_converter.vcproj
04dbd757334bbf94a7eb6742dd519021c8cacba3 10-Apr-2014 ivan.penkov@gmail.com <ivan.penkov@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> Moving directory 'build' one level up as it collides with a file named 'BUILD' which happens to be in that same location in the Google source depot.

R=chrisha@chromium.org, mark@chromium.org

Review URL: https://breakpad.appspot.com/1504002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1308 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/dump_syms/dump_syms.gyp
indows/symupload/symupload.gyp
ade98294d62fb440ab74cd2635fa6db5ec208477 03-Apr-2014 chrisha@chromium.org <chrisha@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Move build configuration to root of repository.

This is in preparation for creating GYP build files for each platform.

BUG=https://code.google.com/p/google-breakpad/issues/detail?id=575
R=mark@chromium.org

Review URL: https://breakpad.appspot.com/1414002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1304 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/dump_syms/dump_syms.gyp
indows/symupload/symupload.gyp
24dbd0fcac7479486a3e5aa30f482ba4f7eede9a 26-Mar-2014 wfh@chromium.org <wfh@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Check in new Windows binaries.

These binaries include recent changes to pdb_source_line_writer for emitting
STACK CFI lines for 64bit PDBs. They were built using the GYP build files,
MSVS 2013 and DIA SDK 12.0.

R=mark@chromium.org, siggi@chromium.org

Review URL: https://breakpad.appspot.com/1294002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1291 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/binaries/dump_syms.exe
indows/binaries/symupload.exe
dce69229eedf55783eae13d1782ebd0f39ca1ee6 24-Mar-2014 wfh@chromium.org <wfh@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Add support for Win64 stack unwind data as STACK CFI

This is a copy of https://breakpad.appspot.com/1264002/ where code review took place.

See https://bugzilla.mozilla.org/show_bug.cgi?id=548035 and https://code.google.com/p/chromium/issues/detail?id=115922

Credit to Mikhail I. Izmestev <izmmishao5@gmail.com> for original patch in https://breakpad.appspot.com/345002/

BUG=572
TEST=Run dump_syms_unittest after compiling dump_syms_regtest.cc with x64 toolchain
R=mark@chromium.org

Review URL: https://breakpad.appspot.com/1274002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1290 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/dump_syms/dump_syms.gyp
indows/dump_syms/dump_syms_unittest.cc
indows/dump_syms/testdata/dump_syms_regtest64.pdb
indows/dump_syms/testdata/dump_syms_regtest64.sym
c539630b1d20f64ded4fdf76a6b7a5bc9006ce80 03-Feb-2014 rsesek@chromium.org <rsesek@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Create a new tool to upload Mac system library symbols.

R=andybons@chromium.org, mark@chromium.org

Review URL: https://breakpad.appspot.com/1124002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1278 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/upload_system_symbols/arch_constants.h
ac/upload_system_symbols/arch_reader.go
ac/upload_system_symbols/arch_reader_test.go
ac/upload_system_symbols/testdata/Makefile
ac/upload_system_symbols/testdata/archtest.c
ac/upload_system_symbols/upload_system_symbols.go
6e3d661e0d84c4b75e0b1e9c320f7f61aad19bf0 18-Dec-2013 thestig@chromium.org <thestig@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Windows: Fix remaining level 4 warnings.

R=mark@chromium.org

Review URL: https://breakpad.appspot.com/954002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1267 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/symupload/symupload.cc
6f35f0ddffc1a2c8f2d991cdf367f30193db65e7 17-Dec-2013 ivan.penkov@gmail.com <ivan.penkov@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> Making the Mac build of crash_report work again after the last SVN sync. This includes correction of a method definition signature and adding missing code files to the project.

I'm commiting this on behalf of Thomas Schweitzer.
Review URL: https://breakpad.appspot.com/914002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1261 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/crash_report.xcodeproj/project.pbxproj
ac/crash_report/on_demand_symbol_supplier.mm
56bbcbb35a2e58cd93de7d3b7d5b4327ea66e676 30-Oct-2013 mattdr.breakpad@gmail.com <mattdr.breakpad@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> Print response code when sym_upload fails.

https://breakpad.appspot.com/631003/



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1228 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/symupload/sym_upload.cc
5f22d6a7f471f2352d394c188560fd06830e14f3 11-Sep-2013 gordana.cmiljanovic@imgtec.com <gordana.cmiljanovic@imgtec.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> Adding support for mips.

Support for mips cpu is added to all breakapad targets including unittests.

BUG=none
TEST=unittests

Review URL: https://breakpad.appspot.com/614002



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1212 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/md2core/minidump-2-core.cc
afe9d27d69d6259753186d6b4427db0b6fa65a54 19-Jul-2013 thestig@chromium.org <thestig@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Fix erronoius address of crashinfo.auxv in minidump-2-core.

BUG=537
A=ajwong@chromium.org
Original review: https://breakpad.appspot.com/615002/

R=ajwong@chromium.org

Review URL: https://breakpad.appspot.com/616002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1203 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/md2core/minidump-2-core.cc
2d460c37d16a99fd4bcdac045298e87b6b5735b0 11-Jul-2013 ivan.penkov@gmail.com <ivan.penkov@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> Detect corrupt symbol files during minidump processing. Recover from the errors and use the good data if possible.

More specifically:
- Detect corrupt symbols during minidump processing and provide the list of modules with corrupt symbols in the ProcessState. This will allow listing the corrupt symbol files in the final crash report.
- Skip and recover from symbol data parse errors - don't give up until 100 parse errors are seen.
- In order to recover from '\0' (null terminator) in the middle of a symbol file, a couple of methods have to be updated to require both buffer pointer and length. Previously they required only a buffer pointer (char *) and the size of the buffer was evaluated using strlen which is not reliable when the data is corrupt. Most of the changes are due to these signature updates.
- Added and updated unittests.

Also, updated minidump_stackwalk to show a WARNING for corrupt symbols. Output looks like this:
...
Loaded modules:
0x000da000 - 0x000dafff Google Chrome Canary ??? (main)
0x000e0000 - 0x0417dfff Google Chrome Framework 0.1500.0.3 (WARNING: Corrupt symbols, Google Chrome Framework, 4682A6B4136436C4BFECEB62D498020E0)
0x044a8000 - 0x04571fff IOBluetooth 0.1.0.0
...
Review URL: https://breakpad.appspot.com/613002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1200 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/on_demand_symbol_supplier.h
ac/crash_report/on_demand_symbol_supplier.mm
f64339eacf372f18b37fe4dabfc4152000617988 09-May-2013 chrisha@chromium.org <chrisha@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Check in new Windows binaries.

These binaries include recent changes to pdb_source_line_writer for handling
PDBs with OMAP data. They were built using the GYP build files, MSVS 2010 and
DIA SDK 8.0.

Review URL: https://breakpad.appspot.com/584002/



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1177 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/binaries/dump_syms.exe
indows/binaries/symupload.exe
fcef9a2de6653cd9386cb1333414219fb7715ff6 08-May-2013 thestig@chromium.org <thestig@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Mac: Fix more errors from clang to get crash_report.xcodeproj close to compiling.

R=mark@chromium.org

Review URL: https://breakpad.appspot.com/593002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1176 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/crash_report.mm
ac/crash_report/on_demand_symbol_supplier.mm
65cecb6f4ff63fd7819ea9fb32bc6920589d670e 08-May-2013 thestig@chromium.org <thestig@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Fix mac dump_syms after r1163.

R=mark@chromium.org

Review URL: https://breakpad.appspot.com/592002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1175 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/dump_syms/dump_syms_tool.mm
42faddc9c3be48a8a29236ab866013288d25491e 07-May-2013 mseaborn@chromium.org <mseaborn@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Add MD_OS_NACL platform_id value for identifying NaCl minidumps

Change minidump-2-core to accept minidumps with this platform_id value
rather than rejecting them as non-Linux dumps.

Add a missing "break" for a MD_OS_PS3 case.

BUG= https://code.google.com/p/nativeclient/issues/detail?id=3424
TEST= tested with work-in-progress NaCl minidump generator

Review URL: https://breakpad.appspot.com/590002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1172 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/md2core/minidump-2-core.cc
98c048fbb8fae5d255a8855bc70c8484c6bb23c6 01-May-2013 chrisha@chromium.org <chrisha@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Add GYP file for tools\windows\symupload.

This creates a GYP project file for the Windows symupload binary, allowing for
easier building. It also updates the old VC 8.0 project file to reflect recent
changes to PdbSourceLineWriter.

Review URL: https://breakpad.appspot.com/579002/



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1168 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/symupload/symupload.gyp
indows/symupload/symupload.vcproj
85be25b17ef145142197007edb785f236f5844d9 01-May-2013 chrisha@chromium.org <chrisha@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Add explicit OMAP support to dump_syms.

This CL adds new utilities to common/windows for handling OMAP information in
PDB files. It then augments PdbSourceLineWriter with explicit OMAP knowledge so
that symbolization will proceed more cleanly for images whose PDB files contain
OMAP information. This makes breakpad handle OMAPped symbol files as cleanly as
WinDbg.

Review URL: https://breakpad.appspot.com/570002/



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1167 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/dump_syms/dump_syms.gyp
indows/dump_syms/dump_syms.vcproj
indows/dump_syms/dump_syms_unittest.cc
indows/dump_syms/testdata/dump_syms_regtest.cc
indows/dump_syms/testdata/dump_syms_regtest.pdb
indows/dump_syms/testdata/dump_syms_regtest.sym
indows/dump_syms/testdata/omap_reorder_bbs.pdb
indows/dump_syms/testdata/omap_reorder_bbs.sym
indows/dump_syms/testdata/omap_reorder_funcs.pdb
indows/dump_syms/testdata/omap_reorder_funcs.sym
indows/dump_syms/testdata/omap_stretched.pdb
indows/dump_syms/testdata/omap_stretched.sym
indows/dump_syms/testdata/omap_stretched_filled.pdb
indows/dump_syms/testdata/omap_stretched_filled.sym
52dc308f4271478a77415f6b71b7e1c96fe56e5a 24-Apr-2013 thestig@chromium.org <thestig@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Add an option to not handle DWARF inter-compilation unit references in Linux dump_syms.

This saves a lot of memory for dump_syms.

Review URL: https://breakpad.appspot.com/565002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1163 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/dump_syms/dump_syms.cc
f254f8ef6a06ae1dba7c3b275a61a6d54c34accd 23-Apr-2013 ivan.penkov@gmail.com <ivan.penkov@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> This change allows compiling sym_upload.cc and minidump_upload.cc using a global ::string class instead of std::string. For more details take a look at common/using_std_string.h

A few other fixes:

- getopt() returns (int)(-1) when options are exhausted. This was already sent out for code review by mattdr but only for sym_upload.cc (https://breakpad.appspot.com/561002/). I'm applying the fix for both files.

- Fixed a couple of lint warning about improper usage of white-spaces.

Thanks,
-Ivan
Review URL: https://breakpad.appspot.com/567002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1158 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/symupload/minidump_upload.cc
inux/symupload/sym_upload.cc
06e17f8d31507e3993609a9495dcaac02d96b4ad 06-Mar-2013 ted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> Allow reading just CFI data when reading symbols
R=thestig at https://breakpad.appspot.com/517002/

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1124 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/dump_syms/dump_syms.cc
ac/dump_syms/dump_syms_tool.mm
6162aed3c3fcfc53373c963ac375d39a5dfa5a25 06-Mar-2013 ted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> Use stdint types everywhere
R=mark at https://breakpad.appspot.com/535002/

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1121 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/md2core/minidump-2-core.cc
inux/md2core/minidump_memory_range.h
inux/md2core/minidump_memory_range_unittest.cc
248c84d2006fcde85b098066866aebec72b76125 23-Jan-2013 ted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> Include the compilation directory for FILE entries, making them absolute instead of relative
A=Ryan Sleevi <rsleevi@chromium.org> R=mark,ted at https://breakpad.appspot.com/385001/

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1106 4c0a9323-5329-0410-9bdc-e9ce6186880e
ython/filter_syms.py
ython/tests/filter_syms_unittest.py
06cdc621bd18b7e4081c2a5d12d80a3c5fc98cab 22-Jan-2013 ted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> Make DumpSymbols methods take a vector of debug_dirs
r=thestig at https://breakpad.appspot.com/512002/

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1102 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/dump_syms/dump_syms.cc
2cc15ba4327831f917ff55b87e6d5fc3c7750085 17-Jan-2013 ted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> Move scoped_ptr.h to common
R=mark at https://breakpad.appspot.com/509002/

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1096 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/md2core/minidump-2-core.cc
ac/crash_report/crash_report.mm
2971a050754f48aaa807db47a29e0d0beddbdcf7 21-Nov-2012 ivan.penkov@gmail.com <ivan.penkov@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> Cleaning up google-breakpad source code of signed-unsigned comparison warnings

http://breakpad.appspot.com/488002/



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1083 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/md2core/minidump-2-core.cc
inux/md2core/minidump_memory_range_unittest.cc
10f68244c2c15fe3b1a6a4c52c6fe3cc5bfa42dc 03-Oct-2012 qsr@chromium.org <qsr@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Add custom implementation of NXGetArchInfoXXX to allow adding new arch.

NXGetArchInfoXXX depends on the OS knowledge of architecture. This CL adds a
custom implementation of those methods to be able to handle newer CPU before
they are handled by the OS. It also add handling for armv7s architecture.
Review URL: https://breakpad.appspot.com/475002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1057 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/crash_report.xcodeproj/project.pbxproj
ac/dump_syms/dump_syms.xcodeproj/project.pbxproj
ac/dump_syms/dump_syms_tool.mm
ac/dump_syms/macho_dump.cc
486229ba5044ee2e7f49d2f6000e6535f2fca46c 21-Sep-2012 qsr@chromium.org <qsr@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Turn on more warnings in ios / mac projects.
Make casts explicit.
This makes casts that loose precision explicit, from here on we will get
warnings.
The changes in this commit are made without evaluating each cast, asuming the
original casts were intentional.

Patch by: jakerr@google.com
Review: https://breakpad.appspot.com/453002/



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1046 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/symupload/sym_upload.cc
86f79a00ae0829dae0136f758eafbe7c220e0c0d 18-Sep-2012 ted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> Allow adding extra memory regions to minidump on linux/windows
A=Bill McCloskey <wmccloskey@mozilla.com>, ted, original patch from https://bugzilla.mozilla.org/show_bug.cgi?id=662646
R=mark at https://breakpad.appspot.com/450002/

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1041 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/core2md/core2md.cc
047752b26a2d1a9ba291a6a47d88a08894e1d5f6 21-Aug-2012 digit@chromium.org <digit@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Fix the tools and processor build for Android

This small patch allows the build of the tools and processor
when targetting Android with the Automake/Autconf build.

Not that these necessarily work correctly at the moment,
but there is no need for --disable-tools --disable-processor
now when using --host=arm-linux-androideabi or
--host=i686-linux-android.

+ Modify android/run-checks.sh to build all binaries with
the Automake build.

+ Tiny fix for --abi=x86 in android/run-checks.sh
Review URL: https://breakpad.appspot.com/438002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1018 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/md2core/minidump-2-core.cc
a76301cb05bfa00724258459808f084c9ffab243 14-Aug-2012 jessicag.feedback <jessicag.feedback@4c0a9323-5329-0410-9bdc-e9ce6186880e> Fix narrowing conversion from -1 to size_t



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1010 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/md2core/minidump_memory_range_unittest.cc
bae8f2e4d1a0e00a44f097947252c94f682286e9 25-Jul-2012 mark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Speculatively back out r989 per http://codereview.chromium.org/10805065/ :

Ted Mielczarek:
> You could try backing out r989, although Mozilla has been running with that
> patch for months without issue.

Me:
> src/client/windows/handler/exception_handler.cc in r989 appears to have
> formatting problems, an unwanted property change, and no real Breakpad review
> history, so maybe we should back it out anyway until the proper process is
> followed.

NACL Tests nacl_integration failures:
http://build.chromium.org/p/chromium/builders/NACL%20Tests/builds/30138
chrome src/native_client/tests/inbrowser_crash_test/crash_dump_tester.py says
that the observed failures are a symptom of crash_service.exe itself crashing.


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@998 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/core2md/core2md.cc
84b0fc6b7342b8bec16a2056bd9a160e87232ac8 20-Jul-2012 ted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e> Move minidump_extension_linux.h contents into minidump_format.h
R=mark at https://breakpad.appspot.com/415002/

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@991 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/md2core/minidump-2-core.cc
331ca9b8739938843bf1257947584f63427238f4 20-Jul-2012 ted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e> Allow adding extra memory regions to minidump on linux/windows
A=Bill McCloskey <wmccloskey@mozilla.com> R=ted at https://bugzilla.mozilla.org/show_bug.cgi?id=662646

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@989 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/core2md/core2md.cc
b732342313268422c0c0794dfb1a82cd17ce9e05 03-Jul-2012 ivan.penkov@gmail.com <ivan.penkov@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> Fixing various compiler warnings and applying minor tweaks to allow running of
the mojority of breakpad unittests in Google.

http://breakpad.appspot.com/399002/



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@978 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/md2core/minidump-2-core.cc
e1c94520b617f04213655d1e344f770a4b4eb1b9 24-May-2012 mkrebs@chromium.org <mkrebs@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> sym_upload: Show failure if symbol server gives redirect response

Add a "response_code" parameter to Linux's HTTPUpload::SendRequest() that,
if non-NULL, will be set to the response code of the HTTP request. Using
that, sym_upload will print a failure message on Linux if the response code
is not 200. This is in line with the change made by
http://breakpad.appspot.com/77001/ for the Mac version.

BUG=google-breakpad:480, chromium-os:30032
TEST=Ran "sym_upload powertop.sym http://test.webdav.org/redir-tmp/"
Ran "sym_upload powertop.sym http://clients2.google.com/cr/staging_symbol"
Review URL: https://breakpad.appspot.com/388002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@968 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/symupload/minidump_upload.cc
inux/symupload/sym_upload.cc
aa52a01f8a977bdb8a1f79ccabab963131574301 03-Apr-2012 mark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Changes to get the breakpad client compiling and running on Android using
ndk-7b.

Patch by Carlos Valdivia <carlosvaldivia@google.com>

Review URL: https://breakpad.appspot.com/363001/


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@945 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/core2md/core2md.cc
b6bded8993c654eca458bdde93461df923b8a0e1 03-Apr-2012 ted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> Remove redundant include of CPP specific header files
Patch by Chris Dearman <chris@mips.com>
R=ted at http://breakpad.appspot.com/372001/

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@944 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/md2core/minidump-2-core.cc
4fa638a7ecb6ab042664300767614308dbc147bb 19-Jan-2012 benchan@chromium.org <benchan@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Implement core dump to minidump conversion.

This patch is part of a bigger patch that helps merging the breakpad code
with the modified version in Chromium OS.

Specifically, this patch makes the following changes:
1. Turn the LinuxDumper class into a base class and move ptrace related
code into a new derived class, LinuxPtraceDumper.
2. Add a LinuxCoreDumper class, which is derived from LinuxDumper, to
extract information from a crashed process via a core dump file instead
of ptrace.
3. Add a WriteMinidumpFromCore function to
src/client/linux/minidump_writer/minidump_writer.h,
which uses LinuxCoreDumper to extract information from a core dump file.
4. Add a core2md utility, which simply wraps WriteMinidumpFromCore, for
converting a core dump to a minidump.

BUG=455
TEST=Tested the following:
1. Build on 32-bit and 64-bit Linux with gcc 4.4.3 and gcc 4.6.
2. Build on Mac OS X 10.6.8 with gcc 4.2 and clang 3.0 (with latest gmock).
3. All unit tests pass.
4. Run Chromium OS tests to test core2md.
Review URL: http://breakpad.appspot.com/343001

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@905 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/core2md/core2md.cc
c89e2798e27cc57e1d543e49b6303fda80fc6c7b 21-Dec-2011 benchan@chromium.org <benchan@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Replace MMappedRange with MinidumpMemoryRange.

This patch is part of a bigger patch that helps merging the breakpad code
with the modified version in Chromium OS.

The MemoryRange class was added in r895 (http://breakpad.appspot.com/332001),
which is largely based on MMappedRange but generalized to be used in other
code. However, MemoryRange does not support minidump data structures. This
patch adds a MinidumpMemoryRange class that extends MemoryRange to handle
minidump data structures, which can then replace MMappedRange.

As with MemoryRange, MinidumpMemoryRange is unit tested.

BUG=455
TEST=Tested the following:
1. Build on 32-bit and 64-bit Linux with gcc 4.4.3 and gcc 4.6.
2. Build on Mac OS X 10.6.8 with gcc 4.2 and clang 3.0 (with latest gmock).
3. All unit tests pass.
4. Run minidump-2-core to covnert a minidump file to a core file.
Review URL: http://breakpad.appspot.com/335001

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@898 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/md2core/minidump-2-core.cc
inux/md2core/minidump_memory_range.h
inux/md2core/minidump_memory_range_unittest.cc
f058b4faa7e16838d2120564fdb627076c3137f9 16-Dec-2011 benchan@chromium.org <benchan@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Refactor code in preparation of merging with the fork in Chromium OS.

This patch is part of a bigger patch that helps merging the breakpad code
with the modified version in Chromium OS.

Specifically, this patch makes the following changes:
1. Add a MemoryRange class for encapsulating and checking read access
to a contiguous range of memory.
2. Add a MemoryMappedFile class for mapping a file into memory for
read-only access.
3. Refactor other source code to use MemoryMappedFile.

BUG=455
TEST=Tested the following:
1. Build on 32-bit and 64-bit Linux with gcc 4.4.3 and gcc 4.6.
2. Build on Mac OS X 10.6.8 with gcc 4.2 and clang 3.0 (with latest gmock).
3. All unit tests pass.
4. Run minidump-2-core to covnert a minidump file to a core file.
Review URL: http://breakpad.appspot.com/332001

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@895 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/md2core/minidump-2-core.cc
9c13d3cc0359515611fd9bc26067c4dd61a451b8 23-Nov-2011 qsr@chromium.org <qsr@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Create a static library to use Breakpad on iOS.

This obliged me to move BreakpadDefines.h to src/client/apple/Framework/BreakpadDefines.h
Review URL: http://breakpad.appspot.com/329001

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@889 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/dump_syms/dump_syms.xcodeproj/project.pbxproj
97bed584e322953bad9eee43c49955aa4684b19e 18-Nov-2011 ted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e> Rename md5.c to md5.cc, put its contents inside the google_breakpad namespace.

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@887 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/crash_report.xcodeproj/project.pbxproj
ac/dump_syms/dump_syms.xcodeproj/project.pbxproj
olaris/dump_syms/Makefile
4fd4efe1c615da174abe42f3ca40662bb50763bf 20-Oct-2011 thestig@chromium.org <thestig@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Fix some shadow variables, including one in file_id.cc that causes all files to generate the same hash. Add a test to make sure this doesn't happen again.
Review URL: http://breakpad.appspot.com/316002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@875 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/md2core/minidump-2-core.cc
95a7d279133b4c9ff1bb4d525dbc81fe954fe0cb 11-Oct-2011 mark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Fix harmless printf abuse in symupload.

symupload printed -[NSData length], an NSUInteger, using %lu. %lu is proper
to print a "long" as unsigned, but NSUInteger is a typedef for "unsigned int"
when building for 32-bit. This would not have caused any problems, because in
the 32-bit model, both int and long are 32 bits wide. In the 64-bit model,
long is 64 bits wide, but NSUInteger is defiend as "unsigned long", so there
wouldn't have even been a warning in that case.

This addresses the following warning:

symupload.m:137:30:{137:28-137:31}{137:46-137:59}: warning: conversion specifies type 'unsigned long' but the argument has type 'NSUInteger' (aka 'unsigned int') [-Wformat]
Review URL: http://breakpad.appspot.com/313002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@860 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/symupload/symupload.m
494fa838866d3718da99717b5ed1e0732c565e2e 27-Sep-2011 mark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Fix some newlines.


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@838 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/refresh_binaries.bat
86643aa4899211f5ba5f2d49f6c38cb5fb069161 27-Sep-2011 mark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Fix breakpad/src/tools/mac/crash_report/on_demand_symbol_supplier.mm following
r835.


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@836 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/on_demand_symbol_supplier.mm
8d54c7509234e9a4918046c12dcb138489f06990 14-Sep-2011 thestig@chromium.org <thestig@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Linux/Mac: Add option to omit the CFI section in dump_syms.
Review URL: http://breakpad.appspot.com/304001

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@835 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/dump_syms/dump_syms.cc
ac/dump_syms/dump_syms_tool.mm
e919fdd63b4550a3261422ffde3c8d631007f75b 27-Jul-2011 mark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Wean Mac Breakpad off of its OpenSSL libcrypto dependency.

This libcrypto dependency sucks. Linking against OpenSSL is sort of broken in
certain Mac OS X SDKs. libcrypto was only being used to provide an MD5
implementation. Breakpad already has its own MD5 implementation, so just use
that instead.

To be perfectly honest, on modern systems, nothing should be making MD5
hashes of modules anyway, because everything has an embedded LC_UUID.

The project file changes just remove libcrypto and add md5.c as needed.

A bonus (and untested) fix for on_demand_symbol_supplier.mm is included to
account for changes in r794.
Review URL: http://breakpad.appspot.com/296001

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@819 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/crash_report.xcodeproj/project.pbxproj
ac/crash_report/on_demand_symbol_supplier.mm
ac/dump_syms/dump_syms.xcodeproj/project.pbxproj
48550041f9663bd13cb805cf770b7d1ddcb1514a 26-Jul-2011 ted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e> Switch mac DumpSymbols::WriteSymbolFile to take an ostream instead of a FILE* to match the changes to Module::Write
R=mark at http://breakpad.appspot.com/294001/show

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@818 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/dump_syms/dump_syms_tool.mm
3ca4a120de8ec3f35e972e4b23f527bb8f65c479 06-Jul-2011 ted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e> Add some unit tests for Linux WriteSymbolFile

This patch adds synth_elf::{StringTable,SymbolTable,ELF} classes to
produce in-memory ELF files to properly test the Linux symbol dumping
code. It also uses those classes to add some basic tests for
the WriteSymbolFile function.

R=jimb at http://breakpad.appspot.com/277001/show

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@794 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/dump_syms/dump_syms.cc
04023b1f6a249a01c0a392db2cf5964dfa4067e2 26-Apr-2011 vitalybuka@chromium.org <vitalybuka@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Fixed message about unregistered msdia*dll. Builds with different DiaSDK need different dll.
Rebuilt with Visual Studio 2008.
Slightly improved refresh_binaries.bat.

BUG=none
TEST=none
Review URL: http://breakpad.appspot.com/281001

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@787 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/binaries/symupload.exe
indows/refresh_binaries.bat
indows/symupload/symupload.vcproj
dbf409ca209b0cd2723ef617a8de024e2a65009b 28-Feb-2011 ted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e> Make programs in src/tools/linux build via the automake build system
R=jimb at http://breakpad.appspot.com/265001

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@775 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/dump_syms/Makefile
inux/symupload/Makefile
d2b6b9ae827200e591dbb61961a82b4291bd4bab 18-Feb-2011 mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> Fix breakpad compilation on ubuntu 10.10.

Patch by Marc-Antoine Ruel <maruel@chromium.org>

Review URL: http://breakpad.appspot.com/264001


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@774 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/md2core/minidump-2-core.cc
3b4ac42ff8798ecebe32e73644170e261b044f64 04-Nov-2010 SiyangXie@gmail.com <SiyangXie@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> Fix broken build of mac crash report tool.


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@723 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/on_demand_symbol_supplier.mm
a8c1c466a16ad4c85bfd1ca20ab8fc056d669abe 01-Nov-2010 SiyangXie@gmail.com <SiyangXie@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> Restrict ownership of symbol data buffers to symbol supplier.


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@721 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/on_demand_symbol_supplier.h
ac/crash_report/on_demand_symbol_supplier.mm
ac05fa05b5d654c7e47d63c83d9ec801b9392b84 20-Oct-2010 mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> Fix crash_report tool.


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@717 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/crash_report.xcodeproj/project.pbxproj
ac/crash_report/on_demand_symbol_supplier.h
ac/crash_report/on_demand_symbol_supplier.mm
d35f113d020aa1cb4f18aace03eca4eb8705dad2 05-Oct-2010 ted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e> Make dump_syms output an INFO CODE_ID line that includes the code file and code identifier. (Currently disabled to give Breakpad users time to update their processor code.)
R=mark at http://breakpad.appspot.com/180001/show

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@710 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/dump_syms/dump_syms.vcproj
0e3b7020b8f679259acfcfdbea4d39e1c13e6f19 16-Sep-2010 thestig@chromium.org <thestig@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Import linux_syscall_support.h from linux-syscall-support.googlecode.com instead of using our own copy.
Review URL: http://breakpad.appspot.com/192001

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@686 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/md2core/minidump-2-core.cc
7fde9a879dbf38aa6adcf7691139dc32cd567089 15-Sep-2010 erikwright@chromium.org <erikwright@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Revert revision 658 ('Add glog style logging to symupload').

R=nealsid at http://breakpad.appspot.com/190001


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@685 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/symupload/symupload.cc
indows/symupload/symupload.vcproj
2452f06b164ce635ca8153d2fd9e49f14a4c3d1d 25-Aug-2010 mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> In on_demand_symbol_supplier, recognize architecture x86 and transform it to
i386 when requesting an on-demand dump of symbols. The string is passed to
system routines that understand this architecture as i386.
Review URL: http://breakpad.appspot.com/162001

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@668 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/on_demand_symbol_supplier.mm
a453cc24f431a3323fee6799c6d8e8bef653a8e4 25-Aug-2010 jimblandy <jimblandy@4c0a9323-5329-0410-9bdc-e9ce6186880e> Commit issue 140001: fixes for 64-bit build cleanups.

a=dmaclach, r=jimb


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@664 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/crash_report.mm
2072e7e7a9440f8c83a85eefc18e3d61d727f1df 20-Aug-2010 nealsid@gmail.com <nealsid@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> This checkin of the binaries was created by refresh_binaries.bat.
Date: Thu 08/19/2010 15:00:49.53
Repository information (output of 'svn info') follows:
Path: .
URL: https://google-breakpad.googlecode.com/svn/trunk/src
Repository Root: https://google-breakpad.googlecode.com/svn
Repository UUID: 4c0a9323-5329-0410-9bdc-e9ce6186880e
Revision: 658
Node Kind: directory
Schedule: normal
Last Changed Author: nealsid@gmail.com
Last Changed Rev: 658
Last Changed Date: 2010-08-19 14:53:35 -0700 (Thu, 19 Aug 2010)



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@659 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/binaries/symupload.exe
indows/refresh_binaries.bat
e167e9e61f433329e5ddd664e96696f6757df735 19-Aug-2010 nealsid@gmail.com <nealsid@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> Add glog style logging to symupload



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@658 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/symupload/symupload.cc
indows/symupload/symupload.vcproj
39edd96373aaca98df3f02c51aaa364f6242d266 18-Aug-2010 ted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e> fix symupload / minidump_upload to match changes to HTTPUpload::SendRequest from r640

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@657 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/symupload/minidump_upload.cc
inux/symupload/sym_upload.cc
3a69e0e1d12ded7a66f060ecf29ef5d3b3b71939 14-Aug-2010 thestig@chromium.org <thestig@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Miscellaneous improvements to minidump-2-core.

Patch by Markus Gutschke <markus@chromium.org>. R=agl
See http://breakpad.appspot.com/148002 and http://codereview.chromium.org/3152010.
Review URL: http://breakpad.appspot.com/152001

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@648 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/md2core/minidump-2-core.cc
2543651766b223caa5f45c08ed2845773b285651 06-Aug-2010 mark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Remove i386 from the set of architectures that the Mac crash_report tool's
on_demand_symbol_supplier will accept. These should always use x86. See r638.

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@639 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/on_demand_symbol_supplier.mm
0ab73db415a14651bd8e336b26d33a7be4a37aad 06-Aug-2010 mark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Breakpad uses x86 as the architecture name, not i386. Most tools don't care
what architecture name is shown in a symbol file's MODULE line, but the Mac
crash_report tool's on_demand_symbol_supplier does. The new Mac dumper
inadvertently used i386. Correct that to make it x86. Temporarily make the
on_demand_symbol_supplier accept symbol files whose architecture is i386.
Also add x86_64 to the set of architectures that the on_demand_symbol_supplier
considers valid.

BUG=none
TEST=none
Review URL: http://breakpad.appspot.com/143001

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@638 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/on_demand_symbol_supplier.mm
1b8c24f3373f71f831b61f5c003cf89704b874bd 29-Jul-2010 dmaclach <dmaclach@4c0a9323-5329-0410-9bdc-e9ce6186880e> review: http://breakpad.appspot.com/138001



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@635 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/crash_report.xcodeproj/project.pbxproj
ac/dump_syms/dump_syms.xcodeproj/project.pbxproj
ac/symupload/symupload.xcodeproj/project.pbxproj
97918069d81d8e7a228294df69bb9af8b4e8c5e2 28-Jul-2010 dmaclach <dmaclach@4c0a9323-5329-0410-9bdc-e9ce6186880e> Review: http://breakpad.appspot.com/137001


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@634 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/dump_syms/dump_syms.xcodeproj/project.pbxproj
a2d5da4831bf53acd23cd7bc6e08818f4d02efff 27-Jul-2010 dmaclach <dmaclach@4c0a9323-5329-0410-9bdc-e9ce6186880e> Fixes up some style nits, and gets us compiling on Leopard again.

Review: http://breakpad.appspot.com/133001
BUG:none
TEST:Compile on Leopard



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@631 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/crash_report.xcodeproj/project.pbxproj
4ac61acb3a7dad6ce722fe07564be8ec92713228 19-Jul-2010 dmaclach <dmaclach@4c0a9323-5329-0410-9bdc-e9ce6186880e> Clean up build for 64 bit.
Fix up some broken mac projects.
Consolidate project settings in xcconfig files.

http://breakpad.appspot.com/130001



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@627 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/crash_report.xcodeproj/project.pbxproj
ac/crash_report/on_demand_symbol_supplier.mm
ac/dump_syms/dump_syms.xcodeproj/project.pbxproj
ac/dump_syms/macho_dump.cc
ac/symupload/minidump_upload.m
ac/symupload/symupload.m
ac/symupload/symupload.xcodeproj/project.pbxproj
56eac4dd7a475192e6c00b6a507e0f4b5ce05efe 16-Jul-2010 thestig@chromium.org <thestig@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Add functionality to read the .gnu_debuglink section and load symbols from a debug ELF file.
Review URL: http://breakpad.appspot.com/126001

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@624 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/dump_syms/dump_syms.cc
e1930985430ce289f4fe8525f51050e5d78cc44e 25-Jun-2010 ted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e> Breakpad: Avoid using the C++ <cfoo> headers.

This patch avoids unnecessary use of the <cfoo> headers in files that don't
actually use the identifiers they declare in the std:: namespace.

It also changes some files to better conform with the "Names and Order of
Includes" rules in the Google C++ Style Guide.

A=jimb R=mark

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@619 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/dump_syms/dump_syms.cc
inux/symupload/sym_upload.cc
b80b13fd2fb41897efd2487d8842e0b64ae9d6df 25-Jun-2010 ted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e> Breakpad Linux symbol dumper: Remove unneeded objects from test executables

The dwarf_cu_to_module_unittest and bytereader_unittest test executables
include object files from which they use no code.
A=jimb R=thestig

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@617 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/dump_syms/Makefile
f16fbd5e963265fd2338bf771875452cbba43b2b 25-Jun-2010 ted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e> Breakpad CFI parser: Add unit tests to XCode project.

This patch adds all the appropriate symbol dumper unit tests to the Mac
XCode dump_syms project. This allows us to test this code on a 64-bit
platform.
A=jimb R=mark

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@616 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/dump_syms/dump_syms.xcodeproj/project.pbxproj
1adc07f0ffd92068215567f5e1546a9c98e58e42 25-Jun-2010 ted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e> Breakpad Mac symbol dumper: Unify with Linux dumper; support DWARF CFI.

This patch rewrites the Mac symbol dumper to use the same set of classes
the Linux dumper does for reading debugging information from various
sources, consolidating them into a single table, and writing that out as a
Breakpad symbol file.

In the process, it also adds support for dumping DWARF call frame
information and .eh_frame exception-handling information as Breakpad 'STACK
CFI' records. This allows the Breakpad processor to generate stack traces
from code compiled with -fomit-frame-pointer.

The patch also replaces the DumpSymbols Objective C++ class with
google_breakpad::DumpSymbols, a plain C++ class. The code still uses some
Objective C++ to use the Foundation facilities for dealing with file names
in a file-system-independent fashion, and for examining the contents of
.dSYM bundles.

Since the code has been entirely rewritten, I have changed the author
lines.
A=jimb R=mark

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@614 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/dump_syms/dump_syms.xcodeproj/project.pbxproj
ac/dump_syms/dump_syms_tool.mm
75ce5938919e1e195a71329fee63971ed2a218fc 25-Jun-2010 ted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e> Breakpad Mac dumper: Change the dumper to be more C++-ish.

Instead of using bzero in main, use constructors to initialize the
Options structure.

Use C++ bool, not Objective-C BOOL.

Use a const NXArchInfo * to represent the architecture name, so that we can
use the NXGetLocalArchInfo, NXGetArchInfoFromName, etc. to handle things.

Delete the 'uuidStr' member; it is unused.

Leave Options::srcPath as an NSString, so that we can continue to use the
filesystem path abstraction methods provided by the Foundation framework.
A=jimb R=mark

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@611 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/dump_syms/dump_syms_tool.mm
35c41e00ee2cf9280fe0122c75877ba70b41bb46 25-Jun-2010 ted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e> Breakpad Mac symbol dumper: Add new Mach-O reader class.

This patch adds files defining new classes in the google_breakpad::Mach_O
namespace for parsing fat binaries and Mach-O files. These are used in the
new dumper to handle STABS debugging information, DWARF call frame
information, and .eh_frame exception handling stack walking information.

These new classes are independent of endianness and word size, and
therefore can be used on binaries of all the relevant architectures: x86,
x86_64, ppc, and ARM.

The patch adds a complete set of unit tests for the new classes.
A=jimb R=mark (http://breakpad.appspot.com/93001/show, http://breakpad.appspot.com/115001/show)

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@610 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/dump_syms/dump_syms.xcodeproj/project.pbxproj
ac/dump_syms/macho_dump.cc
4abf9d9ebde18ac02f89c5a5945ac17908ba49e3 18-May-2010 nealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e> Updated binaries to use a statically linked CRT



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@601 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/binaries/dump_syms.exe
indows/binaries/symupload.exe
7d0d107b177957905b19c88f7bf3ff539bb6e63f 11-May-2010 nealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e> Adding prebuilt dump_syms.exe.

Http://breakpad.appspot.com/issues/111001

A=nealsid
R=mark mentovai



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@595 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/binaries/dump_syms.exe
3d0b3be6c07b7e88ea2c14b30398850e860da4fd 11-May-2010 nealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e> This checkin of the binaries was created by refresh_binaries.bat.
Date: Mon 05/10/2010 15:55:34.46
Repository information (output of 'svn info') follows:
Path: .
URL: https://google-breakpad.googlecode.com/svn/trunk/src
Repository Root: https://google-breakpad.googlecode.com/svn
Repository UUID: 4c0a9323-5329-0410-9bdc-e9ce6186880e
Revision: 593
Node Kind: directory
Schedule: normal
Last Changed Author: nealsid
Last Changed Rev: 593
Last Changed Date: 2010-05-10 13:35:54 -0700 (Mon, 10 May 2010)



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@594 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/binaries/symupload.exe
f6163f1e29e7d30c38e4e6e0d250083fd2415b79 05-May-2010 jimblandy <jimblandy@4c0a9323-5329-0410-9bdc-e9ce6186880e> Breakpad Mac dumper: Clean up XCode project file.

The XCode project file has become encrufted with duplicate Executable
entres and some strange settings. This patch deletes and recreates various
entries to make things neat again. It should have no effect on the
project's visible behavior.

a=jimblandy, r=thestig


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@591 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/dump_syms/dump_syms.xcodeproj/project.pbxproj
52a508dfe205d2c9c21171a33d630c4e314e1255 05-May-2010 jimblandy <jimblandy@4c0a9323-5329-0410-9bdc-e9ce6186880e> Breakpad Mac Dumper: Fix compilation warnings on OS X 10.6

Breakpad's Macintosh symbol dumper uses deprecated functions for
dealing with mixed-endianness code. This patch provides an overloaded
function, ByteSwap, that automatically chooses the OSSwap* functions
from <libkern/OSByteOrder.h> appropriate for its argument's
size.

This patch does *not* address warnings in src/common/mac/dump_syms.mm,
because that code is about to be replaced entirely; there's no reason to
bother reviewing a big, detailed patch against it.

a=jimblandy, r=mark


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@589 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/dump_syms/dump_syms.xcodeproj/project.pbxproj
b28be1254c0698cfd42a9abb910da3c94cf35a7f 05-May-2010 jimblandy <jimblandy@4c0a9323-5329-0410-9bdc-e9ce6186880e> Breakpad Linux dumper: Rename DumpStabsHandler to StabsToModule.

All the other classes which receive debugging data from some sort of parser
and use it to populate a Module have names ending in "ToModule":
DwarfCUToModule, DwarfCFIToModule. Also, DumpStabsHandler doesn't actually
dump anything.

This patch renames the DumpStabsHandler class to StabsToModule, which is
more consistent and descriptive.

a=jimblandy, r=thestig


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@584 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/dump_syms/Makefile
b0ec96cee2ab186c9e7e480d03751588f0640bf1 05-May-2010 jimblandy <jimblandy@4c0a9323-5329-0410-9bdc-e9ce6186880e> Breakpad Linux dumper: Make StabsReader independent of endianness and word size.

StabsReader simply applies a reinterpret_cast to treat the stab entry data
as an array of 'struct nlist' structures, making the parser specific on the
host endianness, word size, and alignment rules. On Mac OS X, a single fat
binary file may contain object files of different ABIs, of which the user
chooses one at run time.

This patch changes the parser to read the data using the google_breakpad::
ByteCursor class, which can handle different endiannesses and word sizes.
The StabsReader constructor now takes arguments indicating the endianness
of the data and the size of each entry's value field. The patch changes
src/common/linux/dump_symbols.cc to pass the new argument.

This patch changes the StabsReader unit tests to use the google_breakpad::
TestAssembler classes to generate test data, rather than reading it from a
file. This makes it easy to generate test data in various endiannesses and
word sizes. It also adds tests for the new parser behaviors.

a=jimblandy, r=thestig


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@583 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/dump_syms/Makefile
6c9780161755f5a215d11de1e29a4a8fc583fa81 05-May-2010 jimblandy <jimblandy@4c0a9323-5329-0410-9bdc-e9ce6186880e> Breakpad symbol dumper: Define the ByteBuffer and ByteCursor classes.

The ByteBuffer and ByteCursor classes are utility classes for reading
binary files, handling endianness and word size issues in a portable way.

a=jimblandy, r=thestig


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@582 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/dump_syms/Makefile
131c0c6a831cda65bee196062ebe460f09851b14 29-Apr-2010 ted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e> issue 372 - fix Mac OS X minidump generation code to handle x86-64 properly. r=mark at http://breakpad.appspot.com/103001

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@578 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/crash_report.xcodeproj/project.pbxproj
865df5af57922a4dc1e2a24e3f5c371d84f0f574 27-Apr-2010 jimblandy <jimblandy@4c0a9323-5329-0410-9bdc-e9ce6186880e> Breakpad test support: Move test_assembler.{h,cc} from src/processor to src/common.

The google_breakpad::TestAssembler classes are used in both the processor's
and the Linux dumper's test suites, and will soon be used in the Mac
dumper's tests as well. This patch moves their source files from
src/processor to src/common.

a=jimblandy, r=thestig


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@574 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/dump_syms/Makefile
a62dc27d2327156ffd80d385e261605af48e3b4e 13-Apr-2010 jessicag.feedback@gmail.com <jessicag.feedback@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> Mac now takes response code into account when determining success of a symupload.

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@570 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/symupload/symupload.m
c0ec51afe09c266c49dfeb2dd079ca6c50f119d2 05-Apr-2010 mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> Include what you use.

Patch by Adam Langley <agl@chromium.org>. r=me


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@568 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/symupload/sym_upload.cc
87855248f1fab83caf002418196a34051d359f2c 05-Apr-2010 jimblandy <jimblandy@4c0a9323-5329-0410-9bdc-e9ce6186880e> Breakpad symbol dumper: Move Linux dumping classes into src/common.

The Linux symbol dumper's classes are reasonably portable, and should be
usable for the Mac dumper as well. Move them to src/common, along with
their unit tests. Update #include directives and Makefile.

a=jimblandy, r=nealsid


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@567 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/dump_syms/Makefile
2a18f064ce05f9d3784902cb1714250011cf2d7d 02-Apr-2010 jimblandy <jimblandy@4c0a9323-5329-0410-9bdc-e9ce6186880e> Breakpad Linux dumper: Generate make dependencies on header files automatically.

The Linux dumper's Makefile doesn't record the object files' dependence on
header files at all, just because I was too lazy to write them out and knew
I would forget to keep them up to date anyway. But I've wasted too much
time tracking down mysterious segmentation faults and other problems after
changing header files, and I know it's wasted others' time, too.

a=jimblandy, r=nealsid,dmuir


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@563 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/dump_syms/Makefile
0de9f43b879cc4e31766d4607e895641bdda1c21 16-Mar-2010 jimblandy <jimblandy@4c0a9323-5329-0410-9bdc-e9ce6186880e> Breakpad DWARF parser: Add support for parsing .eh_frame encoded pointers.

The Linux C++ exception handling data format (.eh_frame) can specify a
number of different encodings for the addresses it contains. This
patch extends dwarf2reader::ByteReader to read pointers encoded in
these ways.

a=jimblandy, r=nealsid


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@551 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/dump_syms/Makefile
3e768ed9c01a244cdb1bc0d6aec34fb25821fbcc 16-Mar-2010 jimblandy <jimblandy@4c0a9323-5329-0410-9bdc-e9ce6186880e> Breakpad Linux dumper: Add support for dumping DWARF CFI as STACK CFI records.

Define a new DWARF parser class, dwarf2reader::CallFrameInfo.

Extend google_breakpad::Module to store and write out 'STACK CFI' records.

Define a new google_breakpad::DwarfCFIToModule class, to accept DWARF
CFI data from the parser and populate a Module with the equivalent
STACK CFI records.

Extend the Linux symbol dumping tool, dump_syms, to use
dwarf2reader::CallFrameInfo, google_breakpad::DwarfCFIToModule, and
google_breakpad::Module to extract DWARF CFI from the executable or
shared library files and write it to the Breakpad symbol file.

Define CFISection, a new class derived from TestAssembler::Section,
for use in creating DWARF CFI data for test cases.

a=jimblandy, r=nealsid


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@550 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/dump_syms/Makefile
dd5067f391baee2561404f8e2915429b3d638ff7 10-Feb-2010 jimblandy <jimblandy@4c0a9323-5329-0410-9bdc-e9ce6186880e> Linux DWARF reader: Follow DW_AT_abstract_origin links to find function names.

Without this patch, debugging information like the following will produce
FUNC records with no names, because the dumper (correctly) ignores the
DW_TAG_subprogram DIEs that lack DW_AT_low_pc/DW_AT_high_pc attributes, but
won't follow the DW_AT_abstract_origin link from the DIE that does have
code addresses to find its name.

<1><168>: Abbrev Number: 5 (DW_TAG_class_type)
<169> DW_AT_name : Foo
<2><183>: Abbrev Number: 7 (DW_TAG_subprogram)
<185> DW_AT_name : Foo
<18b> DW_AT_declaration : 1
<1><1b7>: Abbrev Number: 12 (DW_TAG_subprogram)
<1b8> DW_AT_specification: <0x183>
<1bc> DW_AT_inline : 2 (declared as inline but ignored)
<1><1dc>: Abbrev Number: 16 (DW_TAG_subprogram)
<1dd> DW_AT_abstract_origin: <0x1b7>
<1e1> DW_AT_low_pc : 0x8048578
<1e5> DW_AT_high_pc : 0x8048588

a=dmuir, r=jimblandy


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@520 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/dump_syms/Makefile
952f3c7b7382b02e18c4bc70baa59751105786db 09-Feb-2010 jimblandy <jimblandy@4c0a9323-5329-0410-9bdc-e9ce6186880e> Breakpad Linux dumper: Don't be silly about global functions.

Yes, classes are useful. But that doesn't mean that every function has
to gratuitously become a member function. The Google C++ Style Guide
does not require this silliness, since the function is in the
google_breakpad namespace anyway.

a=jimblandy, r=nealsid


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@519 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/dump_syms/dump_syms.cc
83e085b7a331c96237cf8e814f97b3ef4c36a70f 09-Feb-2010 jimblandy <jimblandy@4c0a9323-5329-0410-9bdc-e9ce6186880e> Breakpad: Update copyright notice years on all files changed in 2010.

We've gotten mixed advice from the lawyery types about whether this
matters. But it's easy enough to do.

a=jimblandy, r=nealsid


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@517 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/crash_report.mm
384b1c7d7dfebacfb10c29eaa03437c2861774ce 27-Jan-2010 jimblandy <jimblandy@4c0a9323-5329-0410-9bdc-e9ce6186880e> Breakpad Linux symbol dumper: Don't disable asserts.

Having NDEBUG be the default has wasted my time more often than I'm
proud to admit. There are no expensive asserts in the Linux symbol
dumper.

a=jimblandy, r=nealsid


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@502 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/dump_syms/Makefile
057aa1f6173501e1a62cf91fd08275e7da439166 23-Jan-2010 jimblandy <jimblandy@4c0a9323-5329-0410-9bdc-e9ce6186880e> Breakpad Linux Dumper: Add DWARF support.

This adds DWARF support to the Breakpad Linux dumper. This is
implemented as two handler classes: google_breakpad::DwarfCUToModule
accepts data from dwarf2reader::CompilationUnit, and
google_breakpad::DwarfLineToModule accepts data from a
dwarf2reader::LineInfo, each populating a google_breakpad::Module with
the results. Behaviors specific to particular source languages are
handled by instances of a new class, google_breakpad::Language.

An input executable may contain both STABS and DWARF debugging
information: the dumper automatically recognizes what sorts of
information are available, and integrates the data into a single
output file.

All classes have unit tests, providing line and branch coverage of all
interesting code. Unit tests are written using the Google C++ Testing
Framework, and the Google C++ Mocking Framework where appropriate.

a=jimblandy, r=ccoutant


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@497 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/dump_syms/Makefile
bc64ee962f7a3518a5d8fef96cda2ad325a19d23 23-Jan-2010 jimblandy <jimblandy@4c0a9323-5329-0410-9bdc-e9ce6186880e> Breakpad DWARF Parser: Improved DWARF-processing interface.

dwarf2reader::CompilationUnit is a simple and direct parser for DWARF
data, but its handler interface is not convenient to use. In
particular, the same handler object receives data about all DIEs
processed. One can't use distinct classes to separate the information
needed to handle different kinds of data.

This patch defines a new adapter type, dwarf2reader::DIEHandler, which
implements the existing DWARF parser's handler interface, given a
handler written to a more comfortable, object-orient interface. The
comments in dwarf2diehandler.h provide more detail.

a=jimblandy, r=ccoutant


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@495 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/dump_syms/Makefile
7b873221e6741208827b2a4a5f2dda35ceccb474 13-Jan-2010 jimblandy <jimblandy@4c0a9323-5329-0410-9bdc-e9ce6186880e> Linux Breakpad Dumper: support running unit tests under valgrind or other wrapper programs.

This adds a new variable, TEST_WRAPPER, to src/tools/linux/dump_syms.
Comments in the patch provide details.

This patch also moves the public variable section to sit after the
public phony targets.

a=jimblandy, r=nealsid


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@486 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/dump_syms/Makefile
2832dc011c9e59c70b60ae7c9242a871a348a53d 11-Jan-2010 nealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e> Patch from Kris Rambish to keep memory usage flat when processing a directory full of minidump files

A=krisr
R=nealsid



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@478 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/crash_report.mm
c65d3e6206f8f8700cc4ae276f2a8e2ea21ecc11 11-Jan-2010 nealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e> INclude stackwalker_arm.{cc,h} in crash_report build



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@477 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/crash_report.xcodeproj/project.pbxproj
c8239313768d3f1c293a773c95df4286b4a124e4 23-Dec-2009 jimblandy <jimblandy@4c0a9323-5329-0410-9bdc-e9ce6186880e> Issue 49003: Breakpad Linux Dumper: Add unit tests for STABS dumper.

Previous patches added unit tests for the STABS parser and the
Breakpad symbol file writer; this adds unit tests for the "dumper"
class that sits between them, receiving data from the parser and
handing it to the writer. So now the whole pathway has coverage.

a=jimblandy, r=nealsid


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@467 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/dump_syms/Makefile
52cb2c6f4235dfaa3760ef37fe7082e9e99b0ebd 23-Dec-2009 jimblandy <jimblandy@4c0a9323-5329-0410-9bdc-e9ce6186880e> Breakpad Linux dumper: Add unit tests for google_breakpad::Module.

Adjust Module's interface a bit to facilitate testing:
- Make AssignSourceIds something a client can call --- it's perfectly
well-defined, so this is an okay change.
- Add GetFunctions, GetFiles and FindExistingfile member functions,
which the test harness will use to get results to examine.

a=jimblandy, r=nealsid


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@466 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/dump_syms/Makefile
5a6e1d3f03ec2c8ccbb63edaccf00ecd02e148bc 23-Dec-2009 jimblandy <jimblandy@4c0a9323-5329-0410-9bdc-e9ce6186880e> Breakpad Linux dumper: move DumpStabsHandler into its own file, for testing.

This will make it easier to write unit tests for DumpStabsHandler.

a=jimblandy, r=nealsid


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@464 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/dump_syms/Makefile
0a5fc5d663054eb836eafc258cc2f6792358e2c9 23-Dec-2009 ted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e> Issue 357: New Linux file_id code doesn't persist across strip. r=agl,nealsid at http://breakpad.appspot.com/49008

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@461 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/dump_syms/Makefile
4969cfc6477c56afb2d4f2f6c1733c3120690b6d 15-Dec-2009 jimblandy@gmail.com <jimblandy@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> Issue 39002: Breakpad DWARF parser: Move DWARF parser to platform-independent directory.

Move the DWARF parser, and the functioninfo.cc DWARF consumer, from
src/common/mac/dwarf to src/commmon/dwarf, so that it can be shared
between the Mac and Linux dumpers.

Fix up #include directives, multiple inclusion protection macros, and
Xcode build files.

a=jimblandy, r=nealsid


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@446 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/crash_report.xcodeproj/project.pbxproj
ac/dump_syms/dump_syms.xcodeproj/project.pbxproj
7f941f990aa436c7d736f19a2f5579cd85933ec6 15-Dec-2009 jimblandy@gmail.com <jimblandy@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> Linux dumper: Add unit tests for google_breakpad::StabsReader.

The test system is based on Google C++ Testing Framework and the
Google C++ Mocking Framework.

This includes a parser that turns human-readable input files ("mock
stabs") into .stab and .stabstr section contents, which we can then
pass to a StabsReader instance, using a handler object written with
GoogleMock. The 'make check' target in src/tools/linux/dump_syms runs
this.

The supplied input file is pretty small, but I've done coverage
testing, and it does cover the parser.

I thought the mock stabs parser would be less elaborate than it turned
out to be. Lesson learned.

a=jimblandy, r=nealsid


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@444 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/dump_syms/Makefile
1c9c0568e097e8b3cfe6e1c4f954d0877fb03711 15-Dec-2009 jimblandy@gmail.com <jimblandy@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> Issue 39001: Breakpad Linux dumper: Refactor Makefile.

Use GNU Make features to make the dumper, unit tests, and maintenance
targets more independent, so I get fewer conflicts as I work on
different parts of the patch series.

In particular:
- Provide targets to run tests and produce test coverage reports.
- Gather C and C++ build rules in one place.
- Avoid variables that list object files, as pattern rules can compute
these values directly from the dependencies.
- Use VPATH to find sources in other directories.

a=jimb, r=nealsid


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@441 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/dump_syms/Makefile
096992fac73756cfa0974a94754329f30fd4e786 01-Dec-2009 nealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e> Upstreaming several patches from Chrome:

Build fix for systems where sys/user.h needs sys/types.h....
http://breakpad.appspot.com/40002
MDRawSystemInfo.processor_level refers to the CPU family, not the cpuid level..
http://breakpad.appspot.com/40003
Use MD_MODULE_SIZE in place of sizeof(MDRawModule).
http://breakpad.appspot.com/39003
Linux x64 compile fix.
http://breakpad.appspot.com/40004
Include linux_syscall_support.h to get definition of NT_PRXFPREG. This is
Chromium commit 23659.
http://breakpad.appspot.com/40005
Build breakpad / crash reporting on Linux 64-bit. This is Chromium commit
23396.
http://breakpad.appspot.com/40006
Fix #includes in a couple unit tests.
http://breakpad.appspot.com/41001
Clean up unused headers / files for Linux dump_syms.
http://breakpad.appspot.com/40002




git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@432 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/dump_syms/Makefile
inux/md2core/minidump-2-core.cc
c84c9e7bb3aac01e5e0dd336ce823e39ae463e85 30-Sep-2009 nealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e> Modification to crash_report to process a directory of .DMP files
http://breakpad.appspot.com/31001

R=nealsid
A=krisr



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@405 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/crash_report.mm
b0baafc4da1f3ffb84e267dd19d176db3de1c14e 18-Aug-2009 nealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e> Merge of Breakpad Chrome Linux fork

A=agl, Lei Zhang
R=nealsid, agl



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@384 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/md2core/minidump-2-core.cc
eab03fdb72a77dfd71db028e6e5676e734bdc443 07-Aug-2009 jimblandy@gmail.com <jimblandy@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> Linux dumper: Move the data structures representing the breakpad data into their own class.

src/linux/common/module.h defines a new class, google_breakpad::Module,
that can represent the contents of a breakpad symbol file. Module::Write
writes a well-formed symbol file to the given stream.

src/linux/common/dump_symbols.cc can now lose its symbol-file-writing
code, and change DumpStabsHandler to populate a Module object, rather
than the old SymbolInfo/SourceFileInfo/... collection of types.

The code to compute function and line sizes, even in the absence of
reliable size data in STABS, is moved into a new Finalize method of
DumpStabsHandler, which is responsible for completing the Module's
contents.

a=jimblandy
r=nealsid


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@380 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/dump_syms/Makefile
54bc5cfa2d594cc9719bef016657bc80a15d968c 07-Aug-2009 jimblandy@gmail.com <jimblandy@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> Linux dumper: Move STABS parsing into its own class.

With this patch, dump_symbols.cc no longer knows about the details of
the STABS debugging format; that is handled by the StabsReader class.
dump_symbols.cc provides a subclass of StabsHandler that builds
dump_symbols' own representation of the data.

a=jimblandy
r=nealsid


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@378 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/dump_syms/Makefile
6e525cbfbba74d702dadf62c1878f3aa453a28c4 02-Jul-2009 nealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e> Add stack-dumping logic to crash_report with -t switch

R=jeremy
A=nealsid



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@357 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/crash_report.mm
1d8cba25c761e7d2d70a60ed6b8911cab50e91b9 17-Jun-2009 nealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e> Fix build break in crash_report caused by my checkin that moved minidump processing error codes to a different namespace

R=preston
A=nealsid



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@351 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/crash_report.mm
dae47f0d169973baa4d4cfe2f3b115ebea8b803f 06-Jun-2009 nealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e> Support overriding makefile variables, changed defaults compilation flags. This patch from Jim Blandy was Merged with a previous change from nealsid to force 32-bit compilation even on 64-bit machines.

A=jim blandy
R=nealsid



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@348 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/dump_syms/Makefile
0eb52ff8cc719b22cecf0b2e333ae13fbf9293cd 06-Jun-2009 nealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e> Use ctsdio streams for dump_syms for significant speedup. Also contains a makefile fix to build in 32-bit mode, even on 64-bit systems.

A=jim blandy
R=nealsid



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@347 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/dump_syms/Makefile
inux/dump_syms/dump_syms.cc
dad1acc2d09e360c464ffe7e144d3fd69634d88b 12-May-2009 nealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e> Deleting obsolete file(when I added DWARF support I had to make this a .MM but I forgot to delete the old file)



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@337 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/dump_syms/dump_syms_tool.m
3366749ee7fd0e6c94906efa817d257917e3bf82 20-Mar-2009 nealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e> Fix for issue 304: symupload needs to support timeout specifications(wininet can timeout when sending large symbol files).
R=doshimun
W=nealsid



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@319 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/symupload/symupload.cc
2ad976ef0ba44f36842b9b7a11848f6b40fd25d5 28-Feb-2009 nealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e> Fix for issues 296, 297. Various symbol supplier classes need to be updated with new overload('make check' was failing, as well as crash_report), and remove logging that was flooding output



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@318 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/on_demand_symbol_supplier.h
ac/crash_report/on_demand_symbol_supplier.mm
a285652cba2851b14b3e7ac29c493b092656064f 10-Feb-2009 nealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e> Issue 275: patch to include list of loaded modules in crash_report output
Written by: jum@mac.com
R=nealsid



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@310 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/crash_report.mm
32441cc0608ddaf81885d23acf63f4b53cb73744 22-Oct-2008 nealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e> Issue 181: Add version info for Mac OS X modules. Found by iterating over load commands until I found LC_ID_DYLIB. Also modified crash_report to generate version number. Also added suspend/resume capability to exception handler, necessary because exception handling can behave strangely across fork() calls. Also added fix for filtering out functions with no line number information, and for filtering out some multiple inheritance glue the compiler generates.


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@291 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/crash_report.mm
cb4aa6b804d9c4a5d43aa50bfbc46257bc55c001 09-Oct-2008 nealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e> Added DWARF support to Breakpad client. Thanks to Google for open sourcing their DWARF code!
Modified dump_syms to detect dSYM bundles or a binary with DWARF data appropriately, and convert data from DWARF reader to dump_syms native structures

R=danny.berlin (original writer of DWARF code)



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@286 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/crash_report.xcodeproj/project.pbxproj
ac/dump_syms/dump_syms.xcodeproj/project.pbxproj
ac/dump_syms/dump_syms_tool.mm
11dc02869471b92f6e11023477e9cfed9ff11cd0 30-Jul-2008 doshimun <doshimun@4c0a9323-5329-0410-9bdc-e9ce6186880e> Log a failure message in case of LOCATE_NOT_FOUND error.
Without this change, no error is logged in this case.



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@283 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/converter/ms_symbol_server_converter.cc
38bc56cfa88b16015b4399d3f8a2ac8f768852b6 05-Jun-2008 nealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e> Modified symupload to correctly handle spaces in module names when processing symbol file
Reviewer=mmentovai



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@279 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/symupload/symupload.m
eeca9921c563d802cccc5593bf55dcb7683e7250 07-Apr-2008 mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> Fix newlines (#253). rs=ted.mielczarek

http://groups.google.com/group/google-breakpad-dev/browse_thread/thread/7e62a299ce3fa222


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@255 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/converter/ms_symbol_server_converter.vcproj
indows/dump_syms/dump_syms.vcproj
indows/symupload/symupload.vcproj
4139a40807699bd893c75e5fba3609b3d0c8bf5f 21-Nov-2007 ladderbreaker <ladderbreaker@4c0a9323-5329-0410-9bdc-e9ce6186880e> fix Mac build by adding stackwalker_amd64.cc to project

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@233 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/crash_report.xcodeproj/project.pbxproj
68b4798eb4b7834e02e068ca79de1e26ce725dba 20-Nov-2007 ted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e> Issue 225 - dynamically load libcurl in http_upload. patch by Andrew Schultz <ajschult@verizon.net>, r=Liu Li

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@232 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/symupload/Makefile
f0a07749af99d249ed1f0dba151bb9d81e885e11 20-Nov-2007 ted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e> Fix compile bustage from issue 221

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@231 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/symupload/minidump_upload.cc
inux/symupload/sym_upload.cc
a100421d48e31d1926d95b84b56463163d61c273 29-Sep-2007 ladderbreaker <ladderbreaker@4c0a9323-5329-0410-9bdc-e9ce6186880e> fix crash_report build due to link error

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@221 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/crash_report.xcodeproj/project.pbxproj
68004c84d6b852cfd4096cd211d2f8d3ff1d9f48 28-Sep-2007 mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> Solaris version of symbol dumper (#207). Patch by Alfred Peng. r=me

http://groups.google.com/group/google-breakpad-dev/browse_thread/thread/e4cbdbf7ddaf7f51


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@218 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/dump_syms/Makefile
olaris/dump_syms/Makefile
olaris/dump_syms/dump_syms.cc
olaris/dump_syms/run_regtest.sh
olaris/dump_syms/testdata/dump_syms_regtest.cc
olaris/dump_syms/testdata/dump_syms_regtest.o
olaris/dump_syms/testdata/dump_syms_regtest.stabs
olaris/dump_syms/testdata/dump_syms_regtest.sym
99b36baa82b7ea8c744e2f66071d27837e897989 15-Sep-2007 dmaclach <dmaclach@4c0a9323-5329-0410-9bdc-e9ce6186880e> Adds the ability to designate a folder with sym files in it that will be used for symbol matching
to crash_report.


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@207 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/crash_report.mm
ac/crash_report/crash_report.xcodeproj/project.pbxproj
ac/crash_report/on_demand_symbol_supplier.h
ac/crash_report/on_demand_symbol_supplier.mm
cb449c6c88dd0bcc30b058e64dab4cf6e839967a 25-May-2007 dmaclach <dmaclach@4c0a9323-5329-0410-9bdc-e9ce6186880e> Fixup crashreport tool on the mac

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@175 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/crash_report.xcodeproj/project.pbxproj
265726e56ccfe5960dc7656a7b52db66b47ad482 03-May-2007 luly81 <luly81@4c0a9323-5329-0410-9bdc-e9ce6186880e> Add md5 implementation into code base to get rid of
openssl dependency.




git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@153 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/dump_syms/Makefile
inux/symupload/Makefile
255bbe93ed7aef5418000339b6cdb5677bf9e4d6 03-May-2007 ted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e> Issue 152 - Patch by Dave Camp, Reviewer Chris Rogers

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@152 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/crash_report.xcodeproj/project.pbxproj
ac/dump_syms/dump_syms.xcodeproj/project.pbxproj
ac/dump_syms/dump_syms_tool.m
ac/symupload/symupload.xcodeproj/project.pbxproj
e219ba182e00794dee6046b01df467e030ca6390 02-May-2007 luly81 <luly81@4c0a9323-5329-0410-9bdc-e9ce6186880e> Merge Ted's patch for writing symbols to stdout for linux.




git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@149 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/dump_syms/dump_syms.cc
30fc9ce1c0e671d7a4234ea70f7ed3906c627659 04-Apr-2007 mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> Replace GB_WSU_SAFE_SWPRINTF_TERMINATE with inline code (#145 followup).
r=bryner

http://groups.google.com/group/google-breakpad-dev/browse_thread/thread/f77da3d219cf9388


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@140 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/symupload/symupload.cc
825840253b5839c43a0d28cbc45e15e4de65b910 04-Apr-2007 luly81 <luly81@4c0a9323-5329-0410-9bdc-e9ce6186880e> Discard age field in the dumped symbol file.



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@139 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/symupload/sym_upload.cc
aec44489da7da17b5babd9343850257558741fa2 30-Mar-2007 mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> vswprintf causes Purify to fail (#145). r=darin

http://groups.google.com/group/google-breakpad-dev/browse_thread/thread/88e18d9fac4eee22


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@135 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/symupload/symupload.cc
33f178df554fa8cac9f752753599235bb25a6d1f 23-Mar-2007 mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> s/an breakpad/a breakpad/ (#127), patch by techtonik, r=me

http://groups.google.com/group/google-breakpad-dev/browse_thread/thread/9610c2878a2bcdc


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@131 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/on_demand_symbol_supplier.h
ac/dump_syms/dump_syms_tool.m
bcd46f007919b5063164c8c5c6c2bd4dfb62681e 12-Mar-2007 luly81 <luly81@4c0a9323-5329-0410-9bdc-e9ce6186880e> Add Linux exception handler.
Add Linux stab symbol dumper.
Add minidump & symbol uploader for Linux.



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@126 4c0a9323-5329-0410-9bdc-e9ce6186880e
inux/dump_syms/Makefile
inux/dump_syms/dump_syms.cc
inux/symupload/Makefile
inux/symupload/minidump_upload.cc
inux/symupload/sym_upload.cc
e5dc60822e5938fea2ae892ccddb906641ba174e 14-Feb-2007 mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> Rename Airbag to Breakpad.


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@122 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/crash_report.mm
ac/crash_report/crash_report.xcodeproj/project.pbxproj
ac/crash_report/on_demand_symbol_supplier.h
ac/crash_report/on_demand_symbol_supplier.mm
ac/dump_syms/dump_syms_tool.m
ac/symupload/minidump_upload.m
ac/symupload/symupload.m
indows/converter/ms_symbol_server_converter.cc
indows/converter/ms_symbol_server_converter.h
indows/dump_syms/dump_syms.cc
indows/dump_syms/run_regtest.sh
indows/dump_syms/testdata/dump_syms_regtest.cc
indows/dump_syms/testdata/dump_syms_regtest.out
indows/dump_syms/testdata/dump_syms_regtest.pdb
indows/dump_syms/testdata/dump_syms_regtest.sym
indows/symupload/symupload.cc
4b987df62b8cf8eb529bff6a18d71a3832bf55c2 24-Jan-2007 waylonis <waylonis@4c0a9323-5329-0410-9bdc-e9ce6186880e> Update crash_report tool and internal classes to reflect change to ProcessState (Issue #116)



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@110 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/crash_report.mm
ac/crash_report/crash_report.xcodeproj/project.pbxproj
ac/crash_report/on_demand_symbol_supplier.h
ac/crash_report/on_demand_symbol_supplier.mm
d31c8b02925a1b20c09ee9ab771322353aea6267 23-Jan-2007 waylonis <waylonis@4c0a9323-5329-0410-9bdc-e9ce6186880e> Changes to support patch #108:
- Calculate unique file id for mach-o files
- Add file id support to dump_syms and symupload tools
- Fix return values of tools to indicate success or failure
- Change dump_syms class to be Objective-C++



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@109 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/crash_report.mm
ac/crash_report/crash_report.xcodeproj/project.pbxproj
ac/dump_syms/dump_syms.xcodeproj/project.pbxproj
ac/dump_syms/dump_syms_tool.m
ac/symupload/symupload.m
ac/symupload/symupload.xcodeproj/project.pbxproj
50e299b00e803f085b34847dfe5232b471d84197 18-Jan-2007 mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> Library to handle SymSrv integration (#111). r=bryner

http://groups.google.com/group/airbag-dev/browse_thread/thread/b40e66d1d57e61b5


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@105 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/converter/ms_symbol_server_converter.cc
indows/converter/ms_symbol_server_converter.h
indows/converter/ms_symbol_server_converter.vcproj
d4e527b7eea7628e305e6ca93cdcb9796060d65a 04-Jan-2007 incrementalist <incrementalist@4c0a9323-5329-0410-9bdc-e9ce6186880e> Allows the caller of CrashReportSender::SendCrashReport() to determine that
the server rejected a crash report, by changing the return value from a
boolean to a tri-state enum.

Fixes issue #101. Reviewed by mmentovai.



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@99 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/symupload/symupload.cc
62c79c5a4076dddcd70d128e63ff567722633a74 19-Dec-2006 waylonis <waylonis@4c0a9323-5329-0410-9bdc-e9ce6186880e> Add Mac symupload tool. Reviewed by bryner. Fixes issue #96.



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@95 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/symupload/minidump_upload.m
ac/symupload/symupload.m
ac/symupload/symupload.xcodeproj/project.pbxproj
9ddb3ae9499634c2ec61b09d6358d4dc7ddf9f32 19-Dec-2006 waylonis <waylonis@4c0a9323-5329-0410-9bdc-e9ce6186880e> Add Mac dump_syms tool and support class. Fixes issue #73.



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@94 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/dump_syms/dump_syms.xcodeproj/project.pbxproj
ac/dump_syms/dump_syms_tool.m
b65dce60f1b911e23bda2a02be36fd991c14815e 19-Dec-2006 waylonis <waylonis@4c0a9323-5329-0410-9bdc-e9ce6186880e> Add crash_report tool that will:
- Generate local symbol file for module
- Output minidump report in a format similar to Apple's crash reporter



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@93 4c0a9323-5329-0410-9bdc-e9ce6186880e
ac/crash_report/crash_report.mm
ac/crash_report/crash_report.xcodeproj/project.pbxproj
ac/crash_report/on_demand_symbol_supplier.h
ac/crash_report/on_demand_symbol_supplier.mm
dd7c38baae8c9a08d3568217d3cad6309add576d 08-Dec-2006 incrementalist <incrementalist@4c0a9323-5329-0410-9bdc-e9ce6186880e> This patch fixes Airbag issue #44.

Summary of this patch:
* It adds a new wstring* parameter to the end of both
SendCrashReport() and HTTPUpload::SendRequest(), which can be NULL.
* If the request isn't successful, the result parameter isn't touched.
* It adds HTTPUpload::UTF8ToWide() to allow the response to be
returned as a wstring,
* It changes the return value of SendRequest (and by extension,
SendCrashReport) so that if the size of the response body isn't
exactly the same as the value given in the Content-Length header, the
return value is false (in addition to the previous semantics).
* It also updates symupload.cc to account for the new parameter in
SendRequest().



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@81 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/symupload/symupload.cc
94f07040ce11ce0e746fc76abdca27939071f0fc 07-Dec-2006 mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> Test data update following PDBSourceLineWriter change (#91). r=bryner

http://groups.google.com/group/airbag-dev/browse_thread/thread/d713d3e73aa1a0dd


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@78 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/dump_syms/testdata/dump_syms_regtest.out
93fa375b580a647904925cb741266f2d679cb448 06-Dec-2006 mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> symupload parameters don't match processor expectations (#91). r=bryner
- Interface change: the "guid" and "age" parameters supplied to a symbol
server by symupload have been merged into "debug_identifier". Some
other parameters have had their names changed. Additional code_file,
os, and cpu parameters have been added.
- Interface change: the format of the MODULE line at the top of dumped .sym
files has changed slightly. The fields used for uuid and age have
merged into a debug_identifier-type field.
- debug_identifier is formatted the same way as CodeModule::debug_identifier
for ease of server-side processing.

http://groups.google.com/group/airbag-dev/browse_thread/thread/8022f504cf01f994


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@77 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/dump_syms/dump_syms.vcproj
indows/symupload/symupload.cc
indows/symupload/symupload.vcproj
4365e2fe41e2d7246a71b364147dd6e7787028f9 21-Nov-2006 mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> Support GUID-less PDBs (#77). r=bryner
- Handle MDCVInfoPDB20-based PDBs by outputting a signature instead of a guid
in the MODULE line.
- Identify the OS and CPU in the MODULE line.
- Suppress multiple subsequent identical STACK WIN lines.

http://groups.google.com/group/airbag-dev/browse_thread/thread/0f54e2c33ed5d82d


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@70 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/dump_syms/dump_syms.cc
indows/dump_syms/testdata/dump_syms_regtest.out
indows/symupload/symupload.cc
7a983e94d0764504c80c9cc8078bd3d2385937ba 19-Nov-2006 mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> Removing erroneous svn:executable setting.


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@68 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/symupload/symupload.vcproj
73cd14b4af906e77f3d8b019962fb9979ff12620 15-Nov-2006 mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> Airbag client libraries should compile under MSVC .NET 2003/7.1 (#64).
r=bryner

http://groups.google.com/group/airbag-dev/browse_thread/thread/b838faeb50f71818


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@64 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/dump_syms/dump_syms.cc
indows/dump_syms/dump_syms.vcproj
indows/symupload/symupload.cc
indows/symupload/symupload.vcproj
80866e79454cefc5570b01dbb0a723185eae653c 06-Nov-2006 mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> Symbol file should contain module GUID at beginning (#66). r=bryner
- The dumped symbol format now begins with a MODULE line identifying the
uuid, age, and name of the source pdb file.
- The processor ignores MODULE lines, but they are useful in figuring out
how to index symbol files in a symbol store.
- dump_syms and symupload now both accept either a pdb or exe/dll and
will read the pdb regardless.
- Figured out that MSSS always represents a module's age in pathnames in
hexadecimal, and updated SimpleSymbolSupplier to match.

http://groups.google.com/group/airbag-dev/browse_thread/thread/572108d6567edd58


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@59 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/dump_syms/dump_syms.cc
indows/dump_syms/run_regtest.sh
indows/dump_syms/testdata/dump_syms_regtest.out
indows/symupload/symupload.cc
29401d2457120b6d581affdb440017433ca93e77 26-Oct-2006 mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> Support building with WIN32_LEAN_AND_MEAN (#60)
- All Windows code now builds with WIN32_LEAN_AND_MEAN by default.
- Header inclusion is adjusted as needed.
Remove use of UuidToString (#39)
- Also breaks dependency on RpcStringFree and therefore rpcrt4.lib.
r=bryner

http://groups.google.com/group/airbag-dev/browse_thread/thread/30f844cfc7ccd37f


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@51 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/dump_syms/dump_syms.cc
indows/dump_syms/dump_syms.vcproj
indows/symupload/symupload.cc
indows/symupload/symupload.vcproj
246f4068280b5b191303ff13671e43a0522987de 20-Oct-2006 mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> Handle frame pointer omission, (#21), part 4 (final part!): FPO stackwalker.
r=bryner
- This change allows Airbag to properly walk win32 stacks produced by code
built with MSVC's frame pointer omission optimization (/Oy). This
optimization is enabled at /O1 and /O2.
- There too many interface and file format changes to list here.

http://groups.google.com/group/airbag-dev/browse_thread/thread/85ce85bfa8457ece


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@42 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/dump_syms/testdata/dump_syms_regtest.out
5afd60b067a65920ba2e4705ccea71b880cc1607 19-Oct-2006 mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> Improvements for Windows client/tool-side code. r=bryner
- Allow Windows sender to use https (#41).
- HTTPUpload not proxy-friendly (#46).
- Check http status codes (sort of #44).
- Allow symupload to work with versionless files (prints a warning, server
may still reject).

http://groups.google.com/group/airbag-dev/browse_thread/thread/5a12a72dffc5999c


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@41 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/symupload/symupload.cc
8b1645d8cdb34035c0b132fe8b574bc5ee48fb62 16-Oct-2006 bryner <bryner@4c0a9323-5329-0410-9bdc-e9ce6186880e> Implement a tool to upload symbols on Windows, given an exe or dll file with
debugging info. Refactor common code into HTTPUpload so that the multipart
POST request code can be shared with CrashReportSender. #47


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@39 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/dump_syms/dump_syms.cc
indows/dump_syms/dump_syms.vcproj
indows/dump_syms/pdb_source_line_writer.cc
indows/dump_syms/pdb_source_line_writer.h
indows/symupload/symupload.cc
indows/symupload/symupload.vcproj
fc1c78e60e9b305386f4c3fc811463f3b24cf6d4 28-Sep-2006 mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> Handle frame pointer omission (#21), part 3: SourceLineResolver and PDBSourceLineWriter changes. r=bryner.
- PDBSourceLineWriter (dump_syms) outputs stack frame debugging information
- SourceLineResolver reads the new information and puts it into a
new StackFrameInfo structure, which is stored in a ContainedRangeMap.
FillSourceLineInfo passes the StackFrameInfo back to the caller.
- The base Stackwalker makes StackFrameInfo data available to subclasses
during stackwalking, but does not use this information directly itself.
Stackwalkers may access stack_frame_info_ for enhanced stackwalking
(this will be part 4).
- New test data for the updated dumped-symbol format

http://groups.google.com/group/airbag-dev/browse_thread/thread/735f191c9a1a1de4


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@38 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/dump_syms/pdb_source_line_writer.cc
indows/dump_syms/pdb_source_line_writer.h
indows/dump_syms/testdata/dump_syms_regtest.out
7daf246e4baf0837e25429668cc23e92b6afe3b3 20-Sep-2006 mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> Relicense to BSD (#29). r=bryner

http://groups.google.com/group/airbag-dev/browse_thread/thread/5f19f13fc172c4e0


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@31 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/dump_syms/dump_syms.cc
indows/dump_syms/dump_syms.vcproj
indows/dump_syms/pdb_source_line_writer.cc
indows/dump_syms/pdb_source_line_writer.h
indows/dump_syms/run_regtest.sh
indows/dump_syms/testdata/dump_syms_regtest.out
indows/dump_syms/testdata/dump_syms_regtest.pdb
cb9fd5b773b25473770b5ddda53b0a2e9f4c7703 08-Sep-2006 mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> Make SourceLineResolver use RangeMap (#13). r=bryner
- Eliminate MemAddrMap from source_line_resolver.cc and adapt it to use
RangeMap, also used by minidump.cc.
- RangeMap operates on both a base address and a size, where MemAddrMap
only used a base address, so the dumped symbol file format is modified
to include size information. dump_syms produces these files and
SourceLineResolver consumes them.
- Provide updated test data conforming to the new dumped symbol format.

http://groups.google.com/group/airbag-dev/browse_thread/thread/e9403cf3ad6336a1


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@21 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/dump_syms/dump_syms.cc
indows/dump_syms/pdb_source_line_writer.cc
indows/dump_syms/testdata/dump_syms_regtest.out
cb91a2f879250f2ef5f74321b5d08807247d41a7 25-Aug-2006 bryner <bryner@4c0a9323-5329-0410-9bdc-e9ce6186880e> Initial import, which includes the Windows client-side dump_syms tool, and
part of the server-side dump processor.



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@4 4c0a9323-5329-0410-9bdc-e9ce6186880e
indows/dump_syms/dump_syms.cc
indows/dump_syms/dump_syms.vcproj
indows/dump_syms/pdb_source_line_writer.cc
indows/dump_syms/pdb_source_line_writer.h
indows/dump_syms/run_regtest.sh
indows/dump_syms/testdata/dump_syms_regtest.out
indows/dump_syms/testdata/dump_syms_regtest.pdb