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

Missing cpp_obj att #21

Closed
rbran opened this issue Dec 19, 2024 · 2 comments · Fixed by #31
Closed

Missing cpp_obj att #21

rbran opened this issue Dec 19, 2024 · 2 comments · Fixed by #31
Assignees

Comments

@rbran
Copy link
Collaborator

rbran commented Dec 19, 2024

Some types, there is no __cppobj attribute found, but it's interpreted with it.

Maybe It's getting this attribute because all the members also have it...

Expected:

00000018  514. struct __cppobj _Ref_count_obj_vector_shared_ptr_InstructionBase : _Ref_count_base_vector_shared_ptr_InstructionBase {vector_shared_ptr_InstructionBase _Storage;};

Result:

00000018  514. struct _Ref_count_obj_vector_shared_ptr_InstructionBase {_Ref_count_base_vector_shared_ptr_InstructionBase ;vector_shared_ptr_InstructionBase _Storage;};

The cppobj att is strongly associated with the 0x8 att value from #23.

If the first member don't have a name (and is a typedef, I think) indicate it's the "extended" obj, maybe this adds an implicit cppobj att. Need to verify if it's possible to extend multiple members.

@rbran rbran self-assigned this Dec 19, 2024
@rbran
Copy link
Collaborator Author

rbran commented Jan 14, 2025

This seems to be fixed at 5faae39 mostly by following the baseclass att in struct member

@emesare emesare linked a pull request Jan 14, 2025 that will close this issue
9 tasks
@emesare
Copy link
Member

emesare commented Jan 14, 2025

Added with #31

@emesare emesare closed this as completed Jan 14, 2025
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 a pull request may close this issue.

2 participants