text

package
v0.0.0-...-fd0897c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MergeText

func MergeText(text string, program *il.Program) error

MergeText parses the given il assembly text and merges its contents into the Program.

func ReadText

func ReadText(text string) (*il.Program, error)

ReadText parses the given il assembly text and converts it into a Program.

func WriteFn

func WriteFn(b *bytes.Buffer, code []uint32, f *il.Function, strings *il.StringTable, tag uint32)

WriteFn writes the given function to the given byte-buffer, as string. If the tag parameter is non-zero, a comment-based tag is also printed next to the op-code at the index indicated by tag.

func WriteText

func WriteText(p *il.Program) string

WriteText writes the program in the textual assembly form and returns it as string.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL