ronin.go¶
-
class
ronin.go.GoCompile(command=None)¶ Bases:
ronin.go.GoExecutorGo compile executor.
The phase inputs are “.go” source files. The phase outputs are “.o” object files.
Parameters: command (basestring or FunctionType) – gocommand; defaults to the context’sgo.go_command-
add_import_path(*values)¶
-
assume_complete()¶
-
create_packages()¶
-
disable_errors_limit()¶
-
disable_inlining()¶
-
disable_local_imports()¶
-
disable_optimizations()¶
-
disable_unsafe_imports()¶
-
enable_large_model()¶
-
enable_memory_sanitizier()¶
-
enable_race_detector()¶
-
expected_import_path(*values)¶
-
local_import_path(*values)¶
-
-
class
ronin.go.GoExecutor(command=None)¶ Bases:
ronin.executors.ExecutorWithArgumentsBase class for Go executors.
Parameters: command (basestring or FunctionType) – gocommand; defaults to the context’sgo.go_command
-
class
ronin.go.GoLink(command=None, platform=None)¶ Bases:
ronin.go.GoExecutorGo link executor.
The phase inputs are “.o” object files. The phase output is an executable (the default), an “.so” or “.dll” shared library, or a static library (“.a”).
Parameters: - command (basestring or FunctionType) –
gocommand; defaults to the context’sgo.go_command - platform (basestring or FunctionType or Project) – target platform or project
-
add_import_path(*values)¶
-
ar(value)¶
-
build_mode(value)¶
-
disable_data_checks()¶
-
disable_debug()¶
-
disable_dynamic_header()¶
-
disable_version_checks()¶
-
enable_memory_sanitizier()¶
-
enable_race_detector()¶
-
executable_format(value)¶
-
link_mode(value)¶
-
linker(value)¶
- command (basestring or FunctionType) –
-
class
ronin.go.GoPackage(project, phase_name)¶ Bases:
ronin.extensions.ExtensionA Go package generated by another phase.
Parameters: - project (Project) – project
- phase_name (basestring or FunctionType) – phase name in project
-
apply_to_executor_go(executor)¶
-
apply_to_phase(phase)¶
-
ronin.go.configure_go(go_command=None)¶ Configures the current context’s Go support.
Parameters: go_command (basestring or FunctionType) – gocommand; defaults to “go”