Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debug/macho: No support for objc sections such as __objc_data #10662

Closed
fabiensanglard opened this issue May 1, 2015 · 9 comments
Closed

debug/macho: No support for objc sections such as __objc_data #10662

fabiensanglard opened this issue May 1, 2015 · 9 comments

Comments

@fabiensanglard
Copy link

No description provided.

@ianlancetaylor ianlancetaylor changed the title debug/macho only supports 64 bits Segments. Also has no support for objc sections such as __objc_data. debug/macho: only supports 64 bits Segments, and has no support for objc sections such as __objc_data May 1, 2015
@ianlancetaylor ianlancetaylor added this to the Unplanned milestone May 1, 2015
@minux
Copy link
Member

minux commented May 2, 2015 via email

@fabiensanglard
Copy link
Author

Checkout the struct segment_command and segment_command_64 on apple documentation page: https://developer.apple.com/library/mac/documentation/DeveloperTools/Conceptual/MachORuntime/index.html#//apple_ref/doc/uid/20001298-89026

The size of the fields declared in the go struct SegmentHeader match segment_command_64 but are wrong is you read a segment_command (from a 32 bits binary)

@minux
Copy link
Member

minux commented May 2, 2015 via email

@fabiensanglard fabiensanglard changed the title debug/macho: only supports 64 bits Segments, and has no support for objc sections such as __objc_data debug/macho: No support for objc sections such as __objc_data May 2, 2015
@fabiensanglard
Copy link
Author

I completely missed this part :) ! Renaming to "no support for objc sections"

@minux
Copy link
Member

minux commented May 2, 2015 via email

@fabiensanglard
Copy link
Author

I want to add ability to parse objc class, method, category and prototypes

@minux
Copy link
Member

minux commented May 2, 2015 via email

@fabiensanglard
Copy link
Author

Please elaborate. Why not add support to parse objc ? What is the scope of debug/macho ?

@minux
Copy link
Member

minux commented May 2, 2015 via email

@dsymonds dsymonds closed this as completed May 2, 2015
@golang golang locked and limited conversation to collaborators Jun 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants