summaryrefslogtreecommitdiff
path: root/view/macho/objc.cpp
AgeCommit message (Collapse)Author
2025-07-09[MachO] Treat a binary as containing Objective-C metadata if it has __objc_stubsMark Rowe
`__objc_stubs` is not technically Objective-C metadata, but binaries containing Objective-C stubs need the same processing. `MachoView` was previously only enabling the Objective-C workflow if it thinks there is type metadata. The same criteria was used to determine whether to process Objective-C metadata via `MachoObjCProcessor`. This meant binaries with `__objc_stubs` but no Objective-C type metadata were not running the Objective-C workflow, preventing stub functions from being inlined during analysis.
2025-06-06Objective-C Processor: Remove vestigial code tracking whether view was ↵kat
backed by a database
2025-04-02[SharedCache] Refactor Shared CacheMason Reed
In absence of a better name, this commit refactors the shared cache code.
2025-04-02[ObjC] Create a shared ObjC processor for Macho and DSC viewsWeiN76LQh
Both the Macho and DSC views need to process Objective-C but have separate processor classes. It would appear that the DSC version was largely a copy and paste of the Macho view one, with some modifications. The majority of code overlaps between the 2 so it doesn't make sense to maintain 2 and copy and paste improvements/fixes between them. This commit fixes that by creating a base Objective-C processor that contains the shared code. View specific code is implemented in the respective subclasses for the views. Although there is very little view specific code for each.
2025-03-18MachO/ObjC: Avoid generating names containing non-printable charsDaniel Roethlisberger
Avoid generating ObjC symbol names containing non-printable characters for both 8 and 16 bit character encodings.
2025-01-15Remove unused calls to defineTypedef which were causing hangsPeter LaFosse
2024-09-26Clean up unused variables in Mach-O/Obj-C codekat
2024-09-13Fix many warningsJosh Ferrell
2024-07-12[Objective-C] Fix an issue where freshly opened databases would prompt to ↵kat
save changes
2024-06-17[Objective-C] Parse CFStrings seperately from main Objective-C Processing.kat
2024-06-16[Objective-C] Wrap undo actions in Objective-C processingkat
2024-06-16[Objective-C] Nonlazy Category Support, improve category variable namingkat
2024-06-16[Objective-C] Parse protocol information.kat
2024-06-16[Objective-C] Mark __objc_ivar as const, define names for class/super refskat
2024-06-13ObjC: Fix memory leak in processingGlenn Smith
2024-06-11[Mach-O] Move Objective-C Structural processing to Mach-O View and ↵kat
automatically enable the workflow when applicable.