Skip to content
/ Recaf Public

Embed java code into Assembler #145

@artemking4

Description

@artemking4

Embed java code into Assembler

I want for an example embed code like boolean x = true; right in assembler, with java bytecode. Or, i just want to see, how will this be in java bytecode, like
int var = 0;
is

ICONST_0
ASTORE var

Activity

Col-E

Col-E commented on Jun 22, 2019

@Col-E
Owner

Mixing two different syntax styles is something I'm not going to support. The assembler is designed to be an alternative to the instructions list editor. For editing using java code you can use the class decompiler window, make your changes, then save them.

artemking4

artemking4 commented on Jun 22, 2019

@artemking4
Author

Ok, then the recompiler doesnt support var/function names like do/for/while

artemking4

artemking4 commented on Jun 22, 2019

@artemking4
Author

that i really have

Col-E

Col-E commented on Jun 22, 2019

@Col-E
Owner

the recompiler doesnt support var/function names like do/for/while

The recompiler uses javac and isn't intended to be used with obfuscated code. It's a nice utility when working with cleaner and simpler code.

When working with obfuscated code there are two primary paths to take:

  • Deobfuscate the obfuscated code so that it is easier to work with, then use the nice utilities (Renaming can be done in Recaf, but for large-scale renaming I would recommend specialized tools such as JRemapper)
  • Use lower level editor functions (Like the instructions list window, or the assembler)
artemking4

artemking4 commented on Jun 22, 2019

@artemking4
Author

Ok, i iwll now try doing something with jremapper

artemking4

artemking4 commented on Jun 22, 2019

@artemking4
Author

new issue at JRemapper

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

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @artemking4@Col-E

        Issue actions