Skip to content

Platform dependent integer (size_t) #134

Closed

Description

@markushauge

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*.

Activity

  1. KN4CK3R commented on Oct 13, 2020

    @KN4CK3R
    Member

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions