CocoAbyss

iOS & Mac OS programming

Main menu

Skip to primary content
Skip to secondary content
  • Home
  • About
  • Source code
  • SL-NTFS

Tag Archives: C

Abusing the Mach-O file format

Posted on 01/10/2009 by Nyx0uf
1

In this post I’m gonna talk about a flaw in the Mach-O file format which is the one used by Mac OS X.
The flaw is very old and well known.
Continue reading →

Posted in Mac OS X, Security | Tagged C, exploit, mach, mach-o, moatool, perl, sqlite | 1 Reply

Mac OS X : Structure of the Kernel

Posted on 25/07/2009 by Nyx0uf
8

We often hear all sort of things when it comes to Mac OS X Kernel, that it’s written in C++, it’s a microkernel.. blabla…
But, what is it really ?
Continue reading →

Posted in Mac OS X | Tagged BSD, C, C++, I/O Kit, kernel, mach, threads, XNU | 8 Replies

Simulate a Kernel Panic on Mac OS X

Posted on 20/07/2009 by Nyx0uf
1

Not so far ago, I was lost on the net, and I found a piece of code to simulate a Kernel Panic in the osxbook site.
Well, and as we are Mac Users, we don’t see this kind of thing very often [TROLL]Not like on Windows[/TROLL], so I decided to share this little piece of code :P
Continue reading →

Posted in Mac OS X, Standard C | Tagged C, fun, kernel, Kernel Panic, sysctl | 1 Reply

[Tip] best buffer size for read(2), write(2) in *NIX OS

Posted on 11/07/2009 by Nyx0uf
Reply

I don’t know you, but when I needed to do I/O operations I often wondered what was the best buffer size to read / write bytes.
After some research I finally found, so I’ll share it with you.
Continue reading →

Posted in Coding Practice, Standard C | Tagged buffer, C, I/O, read, size, stat, write | Leave a reply

Categories

  • Apps (3)
  • Coding Practice (11)
  • Core Animation (3)
  • Core Foundation (2)
  • Core Graphics (10)
  • Core Image (1)
  • Disk Arbitration (4)
  • Foundation (6)
  • Mac OS X (8)
  • Misc (10)
  • QuickLook (2)
  • Security (1)
  • Standard C (5)
  • UIKit (15)
  • XCode (4)

Archives

  • February 2012 (2)
  • January 2012 (2)
  • December 2011 (1)
  • November 2011 (2)
  • October 2011 (2)
  • August 2011 (1)
  • July 2011 (1)
  • June 2011 (6)
  • May 2011 (3)
  • April 2011 (2)
  • March 2011 (2)
  • January 2011 (3)
  • December 2010 (2)
  • November 2010 (3)
  • September 2010 (1)
  • August 2010 (2)
  • July 2010 (1)
  • June 2010 (1)
  • May 2010 (1)
  • January 2010 (1)
  • December 2009 (2)
  • November 2009 (1)
  • October 2009 (1)
  • September 2009 (1)
  • July 2009 (6)

Related

  • Cocoa Is My Girlfriend Cocoa blog by Matt Long & Marcus Zarra
  • Cocoa With Love Cocoa blog by Matt Gallagher
  • iPhone Development iPhone development blog by Jeff Lamarche
  • Matt Legend Gemmell Cocoa blog by Matt Gemmell
  • NSBlog The must read Friday Q&A by Mike Ash

Recent Posts

  • qlImageSize now works for iPhone’s PNG
  • Images dimensions in QuickLook
  • New class for NYXImagesKit : NYXProgressiveImageView
  • NYXImagesUtilities becomes NYXImagesKit
  • Automatic Network Activity Indicator with NSURLConnection

Recent Comments

  • Guillaume on Images dimensions in QuickLook
  • mike on Images dimensions in QuickLook
  • Nyx0uf on Images dimensions in QuickLook
  • Didjo on Images dimensions in QuickLook
  • vaevictis on Images dimensions in QuickLook
Proudly powered by WordPress
Rss Feed Tweeter button