Skip to main content
Tweeted twitter.com/StackReverseEng/status/1360831148394446854
remove 404 link
Source Link
ipatch
  • 331
  • 2
  • 16

I created a simple Cocoa app (Mac 64bit) in Xcode, and in it I created a string object, and then outputted the contents of the string in a NSLog statement.

enter image description here

Then I decided to see if I could modify the contents of the binary (exe) in the .app directory of the application. I used 0xED to change, This is my string. to This is my new string. I did this by typing the word new in the right portion of the 0xED editor.

enter image description here

Finally, I saved the file, then tried to launch it, but it appears to crash. The crash report appears somewhat cryptic to me, so I am not exactly sure why the app is crashing.

https://ghostbin.com/paste/b4877 <= Crash Report

I created a simple Cocoa app (Mac 64bit) in Xcode, and in it I created a string object, and then outputted the contents of the string in a NSLog statement.

enter image description here

Then I decided to see if I could modify the contents of the binary (exe) in the .app directory of the application. I used 0xED to change, This is my string. to This is my new string. I did this by typing the word new in the right portion of the 0xED editor.

enter image description here

Finally, I saved the file, then tried to launch it, but it appears to crash. The crash report appears somewhat cryptic to me, so I am not exactly sure why the app is crashing.

https://ghostbin.com/paste/b4877 <= Crash Report

I created a simple Cocoa app (Mac 64bit) in Xcode, and in it I created a string object, and then outputted the contents of the string in a NSLog statement.

enter image description here

Then I decided to see if I could modify the contents of the binary (exe) in the .app directory of the application. I used 0xED to change, This is my string. to This is my new string. I did this by typing the word new in the right portion of the 0xED editor.

enter image description here

Finally, I saved the file, then tried to launch it, but it appears to crash. The crash report appears somewhat cryptic to me, so I am not exactly sure why the app is crashing.

Source Link
ipatch
  • 331
  • 2
  • 16

Editing a Mach-O x86_64 binary with 0xED results in a app crash

I created a simple Cocoa app (Mac 64bit) in Xcode, and in it I created a string object, and then outputted the contents of the string in a NSLog statement.

enter image description here

Then I decided to see if I could modify the contents of the binary (exe) in the .app directory of the application. I used 0xED to change, This is my string. to This is my new string. I did this by typing the word new in the right portion of the 0xED editor.

enter image description here

Finally, I saved the file, then tried to launch it, but it appears to crash. The crash report appears somewhat cryptic to me, so I am not exactly sure why the app is crashing.

https://ghostbin.com/paste/b4877 <= Crash Report