Skip to content

Conversation

@bdash
Copy link
Contributor

@bdash bdash commented Sep 30, 2025

A new activity is added that will remove calls to objc_retain, objc_release, objc_autorelease, and related functions. It is disabled by default due to the fact it changes the semantics of the code. It can be enabled on a per-function basis via the Function Settings context menu or command palette entry, or it can be enabled in Open with Options or in user settings if a user would prefer it be on for an entire file or for all files they open.

For now the activity is only eligible within arm64 binaries. Supporting x86_64 will require matching some slightly different IL patterns.

@VisualEhrmanntraut
Copy link
Contributor

VisualEhrmanntraut commented Sep 30, 2025

sorry, didn't mean to start separate reviews, just provide suggestions 😅

@bdash bdash force-pushed the test_objc_remove_retain_release branch from e8f0fa3 to 366da11 Compare October 2, 2025 16:28
bdash added 2 commits October 2, 2025 09:33
…nt operations

A new activity is added that will remove calls to `objc_retain`,
`objc_release`, `objc_autorelease`, and related functions. It is
disabled by default due to the fact it changes the semantics of the
code. It can be enabled on a per-function basis via the Function
Settings context menu or command palette entry. Alternatively, it can be
enabled in Open with Options or in user settings if a user would prefer
it be on for an entire file or for all files they open.

For now the activity is only eligible within arm64 binaries. Supporting
x86_64 will require matching some slightly different IL patterns.
@bdash bdash force-pushed the test_objc_remove_retain_release branch from 366da11 to 82e8eac Compare October 2, 2025 16:35
@bdash bdash merged commit 82e8eac into dev Oct 2, 2025
13 of 14 checks passed
@bdash bdash deleted the test_objc_remove_retain_release branch October 2, 2025 16:36
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.

3 participants