Il2CppInspector | Powerful automated tool for reverse engineering Unity | Reverse Engineering library

 by   djkaty C Version: 2021.1 License: AGPL-3.0

kandi X-RAY | Il2CppInspector Summary

kandi X-RAY | Il2CppInspector Summary

Il2CppInspector is a C library typically used in Utilities, Reverse Engineering, Unity applications. Il2CppInspector has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has medium support. You can download it from GitHub.

Il2CppInspector helps you to reverse engineer IL2CPP applications, providing the most complete analysis currently available.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              Il2CppInspector has a medium active ecosystem.
              It has 2224 star(s) with 363 fork(s). There are 70 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 52 open issues and 132 have been closed. On average issues are closed in 15 days. There are 6 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of Il2CppInspector is 2021.1

            kandi-Quality Quality

              Il2CppInspector has 0 bugs and 0 code smells.

            kandi-Security Security

              Il2CppInspector has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              Il2CppInspector code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              Il2CppInspector is licensed under the AGPL-3.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              Il2CppInspector releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.
              It has 145 lines of code, 20 functions and 174 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Il2CppInspector
            Get all kandi verified functions for this library.

            Il2CppInspector Key Features

            No Key Features are available at this moment for Il2CppInspector.

            Il2CppInspector Examples and Code Snippets

            No Code Snippets are available at this moment for Il2CppInspector.

            Community Discussions

            QUESTION

            How do I convert a std::string to System.String in C++ with Il2CppInspector?
            Asked 2021-May-15 at 03:16

            I am using Il2CppInspector to generate scaffolding for a Unity game. I am able to convert System.String (app::String in Il2CppInspector) to std::string using the functions provided below.

            How would I reverse this process; how do I convert a std::string to System.String?

            helpers.cpp

            ...

            ANSWER

            Answered 2021-May-15 at 03:16

            Export Il2CppInspector with all namespaces, which will give you access to Marshal_PtrToStringAnsi.

            Source https://stackoverflow.com/questions/67464201

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install Il2CppInspector

            Build the CLI and Windows GUI versions:.
            Three Powershell scripts are provided to enable easy building and testing of IL2CPP binaries:. builds each C# source file ìnto a .NET assembly DLL, a C++ source folder and one IL2CPP binary per supported architecture. builds MyFirstTest.cs into MyFirstTest.dll, creates a C++ source folder named MyFirstTest and an IL2CPP binary for each supported architecture. builds MyFirstTest.cs and MySecondTest.cs into individual assembly DLLs, C++ source folders and IL2CPP binaries, using Unity 2019.3.1f1. as above but specifies a custom path for your Unity installation. The minimum supported Unity version is 2017.1.0f3. To learn more about these features, see the section entitled Using Il2CppInspector to generate IL2CPP code in IL2CPP Reverse Engineering Part 1.
            il2cpp.ps1 is the main workhorse and compiles each specified C# source file in TestSources (or all of them if none supplied) as a separate assembly, and outputs them to TestAssemblies. It then takes every specified assembly in TestAssemblies and compiles each one as a separate IL2CPP project for each of these architectures: Windows x86 standalone Windows x64 standalone Android ARMv7 (32-bit) Android ARMv8-A (64-bit) These are placed into the TestBinaries folder. The C++ source code for each build is placed into the TestCpp folder. It then calls generate-tests.ps1. Specify a comma-separated list of source files (without the .cs extension) to process as the first argument (or -assemblies). You can optionally specify a Unity version or Unity install path with the 2nd argument (or -unityVersion). If none is supplied, the latest installed Unity version will be used. You can also specify wildcards, eg. 2019* will use the latest installed version of Unity 2019, 2018.3* will use the latest installed version of Unity 2018.3 etc. Use Unity Hub to install the desired versions. Therefore with one command you can generate an assembly DLL, C++ source code and IL2CPP binary for each architecture for any given list of source files, one set of outputs per source file, for a specified version of Unity.
            generate-tests.ps1 generates a file called Tests.cs in the Il2CppTests project, containing one test per IL2CPP project in TestBinaries. This file will be compiled by the Il2CppTests project. You will then be able to see one test per IL2CPP project in Visual Studio's Test Explorer. The auto-generated tests generate C#, JSON and C header files in the test IL2CPP binary's folder in TestBinaries (each filename prefixed with test) and compares them (whitespace-insensitive) with the corresponding project name files in TestExpectedResults. In this way, you can check for files with known structure that the analysis is being performed correctly, or step through the analysis of specific binaries in the debugger without having to change the project's command-line arguments.
            update-expected-results.ps1 copies all of the output test results from TestBinaries into TestExpectedResults, therefore updating the files that will be used to verify correct test results.

            Support

            The current version of Il2CppInspector can output Python scripts targeting the IDA and Ghidra disassemblers. When Il2CppInspector generates such a script, it generates a concatenation of a shared block of code (Outputs/ScriptResources/shared-main.py) which parses the JSON metadata and dispatches it to a set of implementation-specific functions to be processed, and a block of code specific to the target application which implements these functions (a file from Outputs/ScriptResources/Targets).
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Reuse Pre-built Kits with Il2CppInspector

            Consider Popular Reverse Engineering Libraries

            ghidra

            by NationalSecurityAgency

            radare2

            by radareorg

            ILSpy

            by icsharpcode

            bytecode-viewer

            by Konloch

            ImHex

            by WerWolv

            Try Top Libraries by djkaty

            Bin2Object

            by djkatyC#

            DeepBot

            by djkatyC#

            AssetStudio

            by djkatyC#