• ArmDot Home
  • Documentation
  • Tutorial
  • API
  • Download
Show / Hide Table of Contents
  • Getting Started
  • Tutorial
  • MSBuild Obfuscation Task
  • Embedded Files
    • Embedded Files
    • Predefined Directories
  • Key Generators
    • Key Generator for PHP
    • Key Generator for C/C++
  • Command Line Tools
    • ArmDotConsole.exe
  • API
    • ArmDot.Api.Keys
      • LicenseKey
      • LicenseKeyDecoderError
      • LicenseKeyDecoderException
    • ArmDot.Client
      • Api
      • Api.Hardware
      • Api.LicenseKeyState
      • EmbedFileAttribute
      • HideStringsAttribute
      • IntegrityCheckingAttribute
      • ObfuscateControlFlowAttribute
      • ObfuscateNamesAttribute
      • ObfuscateNamespacesAttribute
      • ProtectEmbeddedResourcesAttribute
      • VirtualizeCodeAttribute
    • ArmDot.Engine.MSBuildTasks
      • ObfuscateTask
  • Obfuscation Attributes
  • Stack Trace Deobfuscation
  • ArmDot Warnings
    • How to disable a warning?
    • Warning ARMDOT0001
    • Warning ARMDOT0002
    • Warning ARMDOT0003
    • Warning ARMDOT0004
    • Warning ARMDOT0005
    • Warning ARMDOT0006
    • Warning ARMDOT0007
    • Warning ARMDOT0008
  • Glossary
    • Hardware Id
  • License
  • Activation

Stack Trace Deobfuscation

How to deobfuscate a stack trace?

If you enable names obfuscation and the application crashes, the displayed stack trace contains obfuscated names of methods. It makes the information useless as you can't understand where exactly the exception has been thrown. That's why you need a way to restore such stack traces.

First, you have to enable generating a special file (map file) that contains pairs of original and obfuscated names.

If you use ArmDot project files, load the project into ArmDot, switch to Project and check Create Map File. Also you need to specify the path. Then rebuild the project to have a map file.

If you use the ArmDot command line tool, use the option --create-map-file.

If you use the ArmDot obfuscation task, use the parameter MapFile.

If you have a stack trace created by an obfuscated application that you should restore, run ArmDot and click to Tools - Deobfuscate Stack Trace.

Back to top Armdot Home | Copyright © Softanics | Generated by DocFX