Module utils

Source
Expand description

This module contains utility functions and types.

Constants§

GBF_BLUE
A constant representing GBF blue
GBF_DARK_GRAY
A constant representing GBF dark gray
GBF_GREEN
A constant representing GBF green
GBF_LIGHT_GRAY
A constant representing GBF light gray
GBF_RED
A constant representing GBF red
GBF_YELLOW
A constant representing GBF yellow
NAME
A constant representing the name of the software.
OPERAND_TRUNCATE_LENGTH
At what length text should be truncated for operands.
STRUCTURE_ANALYSIS_MAX_ITERATIONS
Max iterations for the structure analysis
VERSION
A constant representing the current version of the software, in semver format.

Functions§

escape_string
Escapes a string using std::ascii::escape_default.
html_encode
Encodes a string for HTML.

Type Aliases§

Gs2BytecodeAddress
A type representing a bytecode address.