binding-tools-for-swift icon indicating copy to clipboard operation
binding-tools-for-swift copied to clipboard

DylibBinder Getting Enum Elements

Open tj-devel709 opened this issue 4 years ago • 0 comments

In order to get enum elements from .dylib files, we will need to look in the Reflection Metadata Field Descriptor for enums. Apple maps the layout of the Reflection Metadata Field Descriptor here.

image

By following this layout we should be able to map the memory locations to the proper values.

tj-devel709 avatar Mar 19 '21 19:03 tj-devel709