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
- Alphabetic
- By Inheritance
- TextDecompiler
- Decompiler
- ModuleLoader
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- 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
- TextDecompiler → Decompiler
- 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
- def decompileModule(sections: Stream[F, Section]): F[(Module, Map[Index, FuncType])]
Decompiles to an unresolved text module.
- 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
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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
- 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
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- 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.