public class

NativeCodeUtil

extends Object
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.units.code.asm.NativeCodeUtil

Class Overview

Utility routine for INativeCodeUnit. For generic code unit utility, see CodeUtil.

See Also

Summary

Public Constructors
NativeCodeUtil()
Public Methods
final static IClassRebuilder createClassRebuilder(INativeCodeUnit<?> codeUnit)
Convenience method to retrieve a JEB engines-provided class rebuilder object best suited for the provided code unit.
final static IClassRebuilder createClassRebuilder(INativeCodeUnit<?> codeUnit, INativeDecompilerUnit<?> decompiler)
Convenience method to retrieve a JEB engines-provided class rebuilder object best suited for the provided couple of code and decompiler units.
static INativeDataItem createDataItem(INativeCodeUnit<?> unit, long address, String type, String name)
Convenience method to define and retrieve a a data item.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public NativeCodeUtil ()

Public Methods

public static final IClassRebuilder createClassRebuilder (INativeCodeUnit<?> codeUnit)

Convenience method to retrieve a JEB engines-provided class rebuilder object best suited for the provided code unit.

Returns
  • possibly null

public static final IClassRebuilder createClassRebuilder (INativeCodeUnit<?> codeUnit, INativeDecompilerUnit<?> decompiler)

Convenience method to retrieve a JEB engines-provided class rebuilder object best suited for the provided couple of code and decompiler units.

Returns
  • possibly null

public static INativeDataItem createDataItem (INativeCodeUnit<?> unit, long address, String type, String name)

Convenience method to define and retrieve a a data item.

Parameters
unit native code unit
address item start address
type item type
name item name
Returns
  • the item or null