I love reading comments in opensource Apple where they talk smack about other teams’ design decisions
Posts by Derek Selander
Good point, the initial hits didn’t seem to correlate to the actual functions of interest but now I am second guessing that
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
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' ' '
i.imgflip.com/alz5pa.jpg
setting set show-statusline false
Hide that lldb banner that always gets in the way
grand moff tarkin -> grandma twerkin
#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 …
I am in some sort of Groundhog Day writing mach-o parsers
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
I wish I could send Apple UX people videos of me doing basic things like copy pasting a url or printing a UPS slip
There is NS_NOESCAPE
Today in significant milestones: I was able to type ##__VA_ARGS__ from memory
+ -arm64e_preview_abi
lol, grep
Explaining to the 5 year old the concept of checks and balances
A perfectly normal trash can
Good luck today speaking. I’ll be sure to ask questions at the end
Maybe I do have a hoarding problem
I like how this can apply to most days now 🙌
The stock market today reminds me of this scene from Temple of Doom.
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 ])) /'
Pretty entitlements
codesign -d —entitlements - —xml $FILE | plutil -convert -xml -o - -
I’d be surprised if you got an answer here. Feel like the Hack Different Discord would know
I love getting facialed by Sriracha
Watching Putin’s little stooges try to bully Zelenskyy in our goddamned White House is pretty repulsive.
Changed IDA icons to make it feel a bit more modern
github.com/OALabs/swicons