Skip to main content

Crate xur_std

Crate xur_std 

Source
Expand description

Xur’s standard library, std.

It is registered like any other native module, so embedders can run programs with a different standard library, or register more modules alongside it. Each submodule registers itself.

Modules§

re
std::re: reverse engineering — reading executables, live processes and machine code.

Constants§

PRELUDE

Functions§

register
Registers std and its submodules in registry.
registry
A registry holding only std.
set_argv
Sets the program’s argument list. script is the path to the script (None for stdin); args are the trailing arguments.
set_invoked_by
Sets how xur was invoked (e.g. “cli”, “stub”). Must be called once before any script runs; later calls are ignored.