• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Core Data Reverse Engineering KickStarter Project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data Reverse Engineering KickStarter Project


  • Subject: Re: Core Data Reverse Engineering KickStarter Project
  • From: Michael Crawford <email@hidden>
  • Date: Tue, 25 Jun 2013 19:31:50 -0700

On 6/25/13, Scott Ribe <email@hidden> wrote:
> This is what I've been thinking--with the importer asserted to a crazy
> extent, so that you get notified of anything that it doesn't completely
> understand.

Using assertions in an importer is one of my more-effective reverse
engineering techniques.

Take a guess at the document format.
Write an importer that reads that format.
Put assertions everywhere.
If your first guess is wrong, you'll trip an assertion.
Lather.
Rinse.
Repeat.

The other thing I do is run the importer under Valgrind.  That will
even flag out-of-bound reads by so much as one byte.  Valgrind
includes a machine code interpreter, that validates every memory
access, before passing system and library calls off to native code.

--
Michael David Crawford
email@hidden
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Core Data Reverse Engineering KickStarter Project
      • From: Richard Somers <email@hidden>
References: 
 >Core Data Reverse Engineering KickStarter Project (From: Michael Crawford <email@hidden>)
 >Re: Core Data Reverse Engineering KickStarter Project (From: Charles Srstka <email@hidden>)
 >Re: Core Data Reverse Engineering KickStarter Project (From: Scott Ribe <email@hidden>)

  • Prev by Date: Re: AVAudioMix volume/gain curve seems nonlinear
  • Next by Date: Affects of [interior]BackgroundStyle
  • Previous by thread: Re: Core Data Reverse Engineering KickStarter Project
  • Next by thread: Re: Core Data Reverse Engineering KickStarter Project
  • Index(es):
    • Date
    • Thread