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

Does C++export class support compatibility detection #122

Open
honeyyaya opened this issue Apr 6, 2023 · 0 comments
Open

Does C++export class support compatibility detection #122

honeyyaya opened this issue Apr 6, 2023 · 0 comments

Comments

@honeyyaya
Copy link

Hello,
When I used the tool to detect C++exported classes, I found that it was not possible to detect changes in the memory structure of the exported classes. Does the tool support C++exported class compatibility detection?

1.0.0 code
struct TestExportClassStructure
{
long long i[5];
long j;
double k;
struct OpaqueType* p;
};

class _declspec(dllexport) TestExportClass
{
TestExportClass();
public:
TestExportClassStructure s_test_export_class_struct
;
};

1.1.0 code
struct TestExportClassStructure
{
long long i[5];
long j;
double k;
struct OpaqueType* p;
int increase_int;
};

class declspec(dllexport) TestExportClass
{
TestExportClass();
public:
TestExportClassStructure s_test_export_class_struct
;
int i_test_export_class
= 0;
};

Desired results:Can you tell me if the two versions are incompatible? Do you support this type of detection。

thank you

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

No branches or pull requests

1 participant