Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(29)

Issue 115001: Add new Mach-O reader class (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 5 months ago by Ted Mielczarek
Modified:
14 years, 5 months ago
Reviewers:
Mark Mentovai
CC:
google-breakpad-dev_googlegroups.com
Base URL:
http://google-breakpad.googlecode.com/svn/trunk/
Visibility:
Public.

Description

I can't edit Jim's issue, so I'm attaching his second patch here, and I'll
attach my updated copy of it so you can interdiff them.

Patch Set 1 #

Patch Set 2 : Updated with mark's comments #

Total comments: 10
Unified diffs Side-by-side diffs Delta from patch set Stats Patch
src/common/mac/macho_reader.cc View 1 1 chunk +529 lines, -0 lines 4 comments Download
src/common/mac/macho_reader.h View 1 1 chunk +458 lines, -0 lines 2 comments Download
src/common/mac/macho_reader_unittest.cc View 1 1 chunk +1898 lines, -0 lines 1 comment Download
src/common/test_assembler.cc View 1 1 chunk +1 line, -1 line 2 comments Download
src/tools/mac/dump_syms/dump_syms.xcodeproj/project.pbxproj View 1 12 chunks +200 lines, -6 lines 0 comments Download
src/tools/mac/dump_syms/macho_dump.cc View 1 1 chunk +197 lines, -0 lines 1 comment Download

Messages

Total messages: 5
Ted Mielczarek
14 years, 5 months ago #1
Ted Mielczarek
Updated with mark's comments
14 years, 5 months ago #2
Mark Mentovai
LGO You’re shepherding this one now? http://breakpad.appspot.com/115001/diff/2001/3001 File src/common/mac/macho_reader.cc (right): http://breakpad.appspot.com/115001/diff/2001/3001#newcode90 Line 90: if (!(cursor ...
14 years, 5 months ago #3
Ted Mielczarek
On 2010/06/16 16:57:41, Mark Mentovai wrote: > LGO Thanks. > You’re shepherding this one now? ...
14 years, 5 months ago #4
Ted Mielczarek
14 years, 5 months ago #5
http://breakpad.appspot.com/115001/diff/2001/3001
File src/common/mac/macho_reader.cc (right):

http://breakpad.appspot.com/115001/diff/2001/3001#newcode90
Line 90: if (!(cursor >> object_files_count_)) { // nfat_arch
Just a note to myself: reading from a ByteCursor into a size_t is a bad idea and
will make you spend way too much time trying to figure out why this code breaks
on x86-64.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted