Skip to content

The bytecode obtained through 'Attatch to remote' is not the bytecode actually run in the JVM #967

@meiMingle

Description

@meiMingle

Describe the bug

Sometimes we want to verify that our agent works as expected by viewing the bytecode that actually runs in the JVM.

To Reproduce

Steps to reproduce the behavior:

  1. Create an agent.jar file, which modifies the bytecode of a class.
  2. Start the project with the -javaagent:agent.jar parameter and connect to it using Recaf's Attach to Remote link.
  3. View the decompiled output of the target class and compare it to its actual behavior.

Exception

Screenshots

Metadata

Metadata

Assignees

No one assigned

    Labels

    4.XbugYup, thats broken

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions