Packages

class TextDecompiler[F[_]] extends Decompiler[F]

A decompiler from binary format, that formats into the text representation.

This decompiler requires a valid module (validation is performed by the decompiler) to be able to work. It uses the fact that all types are valid to smartly use the folded syntax for all operators and function calls.

This decompiler also takes advantage of the custom name section if present to add identifier to the output.

Source
TextDecompiler.scala
Linear Supertypes
Decompiler[F], ModuleLoader[F], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TextDecompiler
  2. Decompiler
  3. ModuleLoader
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. def decompile(sections: Stream[F, Section]): F[Doc]

    Returns a pretty-printed Doc resulting from decompiling the module at the given section stream.

    Returns a pretty-printed Doc resulting from decompiling the module at the given section stream.

    The module is not validated so invalid modules can also be decompiled.

    Definition Classes
    TextDecompilerDecompiler
  7. def decompileBytes(bytes: Stream[F, Byte]): F[Doc]

    Returns a pretty-printed Doc resulting from decompiling the module at the given bytes.

    Returns a pretty-printed Doc resulting from decompiling the module at the given bytes.

    The module is not validated so invalid modules can also be decompiled.

    Definition Classes
    Decompiler
  8. def decompileModule(sections: Stream[F, Section]): F[(Module, Map[Index, FuncType])]

    Decompiles to an unresolved text module.

  9. def decompilePath(path: Path, blocker: Blocker, chunkSize: Int = 1024)(implicit cs: ContextShift[F]): F[Doc]

    Returns a pretty-printed Doc resulting from decompiling the module at the given path.

    Returns a pretty-printed Doc resulting from decompiling the module at the given path.

    The module is not validated so invalid modules can also be decompiled.

    Definition Classes
    Decompiler
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def sections(bytes: Stream[F, Byte]): Stream[F, Section]

    Reads a binary module from the given bytes.

    Reads a binary module from the given bytes.

    Definition Classes
    ModuleLoader
  19. def sections(path: Path, blocker: Blocker, chunkSize: Int = 1024)(implicit cs: ContextShift[F]): Stream[F, Section]

    Reads a binary module from the given path.

    Reads a binary module from the given path.

    Definition Classes
    ModuleLoader
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Decompiler[F]

Inherited from ModuleLoader[F]

Inherited from AnyRef

Inherited from Any

Ungrouped