![]() |
|
#4
|
|||
|
|||
|
Quote:
I'm hitting a VirBox [V]-virtualized method and can't recover its real IL. The details: 1. The registration-check method's metadata body is just a stub: ldstr "Runtime exception"; newobj Exception; throw So it's protected by VirBox's [V] virtualization (VM interpreter + JIT-encrypted). 2. I can load the assembly and invoke the method by reflection — it runs (the VirBox VM executes the real logic) and returns false for an invalid registration code, but I CANNOT read the underlying algorithm from the IL. 3. I also wrote a CLR profiler (ICorProfilerCallback2/Info2, SetILFunctionBody at JIT time, COR_PRF_MONITOR_JIT_COMPILATION) and can force methods to return fixed values, which lets me override the check — but that doesn't recover the real algorithm. MAIN BLOCKER — download permission: - I tried to download VirBoxDynamicRestore.rar (attachmentid=10755, and the NativeSave / NativeSave&NoThrow variants) from this thread, but my forum account (a brand-new one) gets "you do not have permission to access this page" — the attachment download requires a higher user level / post count that I don't have yet. Could anyone please: 1. Upload the tools to a mirror (or post a direct link that doesn't require the attachment-download permission)? — VirBoxDynamicRestore_Fixed2.rar, and if possible the SMD unpacker needed first, would be ideal. 2. Or confirm the correct usage flow: is it "SMD unpack the file, then run VirBoxDynamicRestore <file>, output in originalAssembly\nodynamic"? 3. And for the [V] VM-interpreter case, does NativeSave work or do I need the NoThrow variant? Happy to provide the sample method signature (static bool SisterS(string, string, out string)) if that helps anyone. Thanks in advance for any help — I'm really stuck on the download permission and would appreciate a mirror or link. |
| Thread Tools | |
| Display Modes | |
|
|