-
Notifications
You must be signed in to change notification settings - Fork 4
Update struct definitions #134
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
base: main
Are you sure you want to change the base?
Conversation
@@ -10,7 +10,7 @@ | |||
|
|||
#include "OGBase.h" | |||
|
|||
typedef OG_OPTIONS(uint32_t, OGAttributeFlags) { | |||
typedef OG_OPTIONS(uint8_t, OGAttributeFlags) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This gets stored as an 8-bit field in AG::Node
.
struct { | ||
OGTypeID type_id; | ||
const void *witness_table; | ||
} body_conformance; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Kyle-Ye This doesn't appear in the swift section dump you provided, but I can see it being set in Ghidra's disassembly. I'm not sure if there is a difference in behaviour depending on version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we miss something in swift section? Maybe we can try to use Ghidra and align those logic. cc @Mx-Iris
No description provided.