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

Platform dependent integer (size_t) #134

Closed
markushauge opened this issue Sep 7, 2019 · 1 comment · Fixed by #176
Closed

Platform dependent integer (size_t) #134

markushauge opened this issue Sep 7, 2019 · 1 comment · Fixed by #176
Labels

Comments

@markushauge
Copy link

I'm working on reversing a program which has a 64-bit and a 32-bit version. The two versions are essentially identical, just compiled for different targets. Having an integer node with the size dependent on the current platform would reduce the amount of work. The current workaround is to use a void pointer, but it does not show the correct purpose of the node. Code generation should also be able to generate a size_t rather than void*.

@KN4CK3R KN4CK3R added the feature label Sep 9, 2019
@KN4CK3R
Copy link
Member

KN4CK3R commented Oct 13, 2020

After moving to .NET 5 ReClass.NET can use this C# 9 feature: dotnet/csharplang#435 for such a node without IntPtr / UIntPtr and casts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants