|
Server-side workaround to handle overlapping modules.
This change is resolving an issue that was caused by the combination of:
- Android system libraries being relro packed in N+.
- Breakpad dealing with relro packed libraries in a hack way.
This is a fix for http://crbug/611824.
I also found an use-after-free issue (bug in Minidump::SeekToStreamType). I disallowed the MinidumpStreamInfo copy and assign constructors and the compiler detected another similar issue in Minidump::Print. Then I disabled the copy and assign constructors for most classes in minidump.h (just in case). There are a couple of classes where I couldn't disallow them (since assign is used). This will require a small refactor so I left it out of this CL.
R=mark@chromium.org
Committed: https://chromium.googlesource.com/breakpad/breakpad/+/24f5931c5e0120982c0cbf1896641e3ef2bdd52f
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+239 lines, -39 lines) |
Patch |
|
M |
src/client/linux/minidump_writer/minidump_writer_unittest.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/google_breakpad/processor/code_module.h
|
View
|
|
1 chunk |
+8 lines, -1 line |
0 comments
|
Download
|
|
M |
src/google_breakpad/processor/code_modules.h
|
View
|
1
2
|
2 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/google_breakpad/processor/microdump.h
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/google_breakpad/processor/minidump.h
|
View
|
1
2
3
|
16 chunks |
+45 lines, -1 line |
0 comments
|
Download
|
|
M |
src/google_breakpad/processor/process_state.h
|
View
|
|
3 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
|
M |
src/processor/basic_code_module.h
|
View
|
1
|
3 chunks |
+20 lines, -13 lines |
0 comments
|
Download
|
|
M |
src/processor/basic_code_modules.h
|
View
|
1
2
|
3 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/processor/basic_code_modules.cc
|
View
|
1
2
3
|
3 chunks |
+37 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/processor/basic_source_line_resolver_unittest.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
src/processor/fast_source_line_resolver_unittest.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
src/processor/microdump.cc
|
View
|
1
2
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/processor/microdump_processor_unittest.cc
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/processor/minidump.cc
|
View
|
1
2
|
7 chunks |
+41 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/processor/minidump_processor.cc
|
View
|
|
1 chunk |
+13 lines, -1 line |
0 comments
|
Download
|
|
M |
src/processor/range_map.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/processor/range_map-inl.h
|
View
|
1
2
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/processor/stackwalker_unittest_utils.h
|
View
|
1
2
|
4 chunks |
+18 lines, -5 lines |
0 comments
|
Download
|
Total messages: 19 (4 generated)
|