Comments (7)
What's your use case for native method detection?
Native Method Detection high memory usage
This is likely not restricted to native method detection, but instead to ISIL analysis, which native method detection uses. The call analyzer also uses ISIL.
from cpp2il.
What's your use case for native method detection?
I just enabled all processors for diffable cs 😅. Is there any description for them?
from cpp2il.
Actually I wanna view pseudocode like in Ghidra/IDA, can cpp2il produce it?
from cpp2il.
Actually I wanna view pseudocode like in Ghidra/IDA, can cpp2il produce it?
Currently, cpp2il cannot create pseudocode. This is because ISIL & armv8 → ISIL is not fully completed and that's not to mention ISIL → pseudocode. With the current implementation of ISIL, a potential pseudocode generator could at most do something like this
Which is not enough to understand what the method does.
from cpp2il.
With the current implementation of ISIL, a potential pseudocode generator could at most do something like this
I'm not using windows nor dnspy.
Which is not enough to understand what the method does.
I see. Is there any maintained il2cpp reverse engineering tool like dumper/inspector (both probably died)
from cpp2il.
I've just pushed two changes. The first one aims to reduce the memory usage of call analysis and native method detection, especially on X86/X64 games, in all situations, without affecting performance. In my testing a game that previously took 12GB of RAM when running on my PC now takes < 6GB with this change.
The second change is a new command line option, --low-memory-mode
, which further constrains how much memory CPP2IL tries to use, but this one has a performance cost (e.g. call analysis execution time basically doubled) - but with it on, the same game took < 2GB for call analysis, and 4-5GB for native method detection (which does appear to be a lot more intensive).
Give it a try and let me know how it goes for you.
from cpp2il.
Nice, now RAM usage about 2 times less. Tho I didn't tried --low-memory-mode
since CPU already a potato.
from cpp2il.
Related Issues (20)
- Cpp2IL.Plugin.StrippedCodeRegSupport.dll wont run HOT 4
- Documentation on wasm? HOT 1
- ISIL `Invalid` Instructions
- Cpp2IL.Core.Exceptions.LibCpp2ILInitializationException: Fatal Exception initializing LibCpp2IL!
- Field offsets not loading correctly for `Among Us` HOT 1
- Metadata v31 HOT 11
- Unknown register size for LDP: V1 on ARM64
- Unsupported metadata version found! We support 24-29, got 31 HOT 4
- Operand kind VectorRegisterElement not yet implemented. HOT 4
- The latest version of the artifact does not provide RVA, Offset and VA addresses HOT 1
- Output dump.cs file HOT 6
- System.IndexOutOfRangeException: Index was outside the bounds of the array
- more metadata HOT 2
- Cannot map pointers to Il2CppMethodDefinitions HOT 3
- Invalid interface method implementations HOT 4
- Issue with global-metadata with 29.2 and unity 2023.2.20f1
- Unity 2021 variant of v31 is not supported
- Invalid characters in windows
- Cannot find codereg and metareg for 2022.3.21f1 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cpp2il.