Skip to content

Darwin Bugfixes & Dereference Features - #61

Open
RobertNotRob wants to merge 4 commits into
foundryzero:mainfrom
RobertNotRob:fix/darwin_heap
Open

Darwin Bugfixes & Dereference Features#61
RobertNotRob wants to merge 4 commits into
foundryzero:mainfrom
RobertNotRob:fix/darwin_heap

Conversation

@RobertNotRob

@RobertNotRob RobertNotRob commented Aug 18, 2026

Copy link
Copy Markdown

Hey friends,

Upstreaming a handful of bugfixes and features I've implemented for myself.

Bugfixes:

  • enable_darwin_heap_scan was broken on latest Xcode due to how lldb now infers / transfers types - this fixes it by uses a structure rather than a bare array and also makes use of unpack for performance reasons
  • There was a variant of MacOS issue #54 but on dereference where the same error message would occur when dereferencing code

Features:

  • dereference will show the next of memory if you hit "enter" with an empty prompt. This resends the same command which is what it's triggered from
  • dereference now colours the resulting pointers so you can tell where they are pointing too
  • dereference now shows heap object boundries under darwin so you can visually see where an allocation ends

Gated some of this behind settings, plausible all the features could be but I also seem them as generically useful

…mpty values. This causes `enable_darwin_heap_scan` to fail

Fix: Variant of foundryzero#54 in `dereference command`
Feat: dereference now highlights the colours of pointers and shows object boundries on darwin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant