Advertisement · 728 × 90

Posts by Derek Selander

I love reading comments in opensource Apple where they talk smack about other teams’ design decisions

1 month ago 0 1 0 0

Good point, the initial hits didn’t seem to correlate to the actual functions of interest but now I am second guessing that

1 month ago 0 0 0 0

Get the _X… MiG function. Prob mach header

otool -tV program_path -arch arm64e | grep NDR_record -B 200 | grep sub | grep sp | awk '{print "br set -a " $1 " -s program -c \"((mach_msg_header_t*)$x0)->msgh_id\" -C \"p/x *((mach_msg_header_t*)$x0)\" -G1 -C\"bt\""}' | sort | uniq > /tmp/cmds.txt

1 month ago 0 0 0 0

Get MiG breakpoints

otool -tV /program/path -arch arm64e | grep NDR_record -B 100 | grep bl | grep -v "symbol stub" | grep blraa -v | awk '{print "-o \"br set -a " $3 " -s program_here\""}' | sort | uniq | tr '\n' ' '

1 month ago 0 0 2 0
Post image

i.imgflip.com/alz5pa.jpg

1 month ago 0 0 0 0

setting set show-statusline false

Hide that lldb banner that always gets in the way

1 month ago 1 0 0 0
Post image
4 months ago 36802 7802 428 327
Advertisement

grand moff tarkin -> grandma twerkin

4 months ago 0 0 0 0

#ifndef _SHH_AVAILABILITY_H
#define _SHH_AVAILABILITY_H

#include <Availability.h>

#undef API_UNAVAILABLE
#define API_UNAVAILABLE(...)
#undef API_PROHIBITED
#define API_PROHIBITED(...)
#undef __API_UNAVAILABLE
#define __API_UNAVAILABLE(...)

#endif

clang -include ShhhAvailability.h …

5 months ago 2 0 0 0

I am in some sort of Groundhog Day writing mach-o parsers

5 months ago 0 0 0 0

An old Xcode project crashed another Xcode so hard it permanently disabled Xcode from ever launching again. Good thing Apple doesn’t strictly limit Xcode versions across macOS versions else I’d be totally f’d

5 months ago 0 0 0 0

I wish I could send Apple UX people videos of me doing basic things like copy pasting a url or printing a UPS slip

5 months ago 2 0 0 0
Sign In - Apple

developer.apple.com/download/all/

The secret URL Big Apple doesn’t want anyone talking about

5 months ago 0 0 0 0

There is NS_NOESCAPE

7 months ago 0 0 0 0

Today in significant milestones: I was able to type ##__VA_ARGS__ from memory

8 months ago 2 0 0 0

+ -arm64e_preview_abi

8 months ago 0 0 1 0
Advertisement
Preview
Take Control of macOS GitHub Gist: instantly share code, notes, and snippets.

YOLO macOS

gist.github.com/LeoNatan/b1c...

8 months ago 2 0 1 0

lol, grep

9 months ago 1 0 0 0
Post image

Explaining to the 5 year old the concept of checks and balances

9 months ago 1 0 0 0

A perfectly normal trash can

10 months ago 1 0 0 0

Good luck today speaking. I’ll be sure to ask questions at the end

10 months ago 1 0 1 0
Post image

Maybe I do have a hoarding problem

1 year ago 1 0 1 0

I like how this can apply to most days now 🙌

1 year ago 0 0 0 0
Post image

The stock market today reminds me of this scene from Temple of Doom.

1 year ago 7 2 1 0
Advertisement

Dump compiled types by image in lldb:

command regex dumptypes 's/(.+)/script print(";\n".join([str(z) for z in [m for m in lldb.target.modules if m.file.basename == "%1"][0].GetTypes() if z.type == lldb.eTypeClassStruct or z.type == lldb.eTypeClassTypedef ])) /'

1 year ago 0 0 0 0

Pretty entitlements

codesign -d —entitlements - —xml $FILE | plutil -convert -xml -o - -

1 year ago 1 0 0 0

I’d be surprised if you got an answer here. Feel like the Hack Different Discord would know

1 year ago 1 0 0 0

I love getting facialed by Sriracha

1 year ago 0 0 0 0

Watching Putin’s little stooges try to bully Zelenskyy in our goddamned White House is pretty repulsive.

1 year ago 24164 3950 470 128
Post image

Changed IDA icons to make it feel a bit more modern

github.com/OALabs/swicons

1 year ago 4 1 0 0