Skip to content

Invalid address of method body #498

Description

@smpial

dnSpyEx version

6.5.1

Describe the Bug

dnSpy shows an invalid file offset on a method. In the attached dll in AudioSys class method PauseAllSound has RVA 0x00001004 and file offset 0x00000204, but file offset is invalid and should be 0x00001004 (as RVA), because on this address in a dll starts a method header. This is problem for all methods there RVA != File Offset, all other methods decompiles successfully.
DLL file: https://klucva.ru/dll/da5fe0e72b7ca4a516ef7b9c49d5a1d6.dll

How To Reproduce

Open dll in dnSpy, go to class AudioSys and find method PauseAllSound

Expected Behavior

Method should be decompiled successfully

Actual Behavior

Method doesn't have a body

Additional Context

No response

Activity

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions