Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DualHorizon/malbox
/ functions
Functions
2,140 in github.com/DualHorizon/malbox
⨍
Functions
2,140
◇
Types & classes
741
↓ 4 callers
Function
validateJsModule
(obj: unknown)
front-end/src/lib/transforms/loader/js.ts:21
↓ 4 callers
Function
validateWasmWrapper
(obj: unknown)
front-end/src/lib/transforms/loader/wasm.ts:21
↓ 4 callers
Function
validateYamlConfig
(obj: unknown)
front-end/src/lib/transforms/loader/yaml.ts:18
↓ 4 callers
Function
validate_manifest
Validate structural correctness of a parsed manifest: name/version/scope. Called by `parse_manifest` after TOML deserialization succeeds.
back-end/crates/malbox-plugin-manifest/src/manifest.rs:98
↓ 4 callers
Function
xdg_dir
Resolve an XDG directory with a `$HOME`-based fallback. Never falls back to a literal `~` path - the OS does not expand those.
back-end/crates/malbox-installer/src/lib.rs:27
↓ 4 callers
Function
xorBytes
(data: Uint8Array, key: number)
front-end/src/lib/transforms/__tests__/builtin/xor-bruteforce.test.ts:12
↓ 3 callers
Method
Indicator
back-end/crates/malbox-plugin-sdk-cpp/include/malbox/report.hpp:91
↓ 3 callers
Method
ReportBuilder
back-end/crates/malbox-plugin-sdk-cpp/include/malbox/report.hpp:547
↓ 3 callers
Method
acquire
Acquire a ready machine for a task.
back-end/crates/malbox-resources/src/pool.rs:42
↓ 3 callers
Method
allocated
Get the allocated machines tracking set.
back-end/crates/malbox-provider-libvirt/src/lib.rs:125
↓ 3 callers
Function
build_initial_manifest
( config: &InstallConfig, version: &str, arch: &str, daemon_path: &str, malbox_path: &str,
back-end/crates/malbox-installer/src/install.rs:10
↓ 3 callers
Function
builder_from_ptr
Cast an opaque `MalboxResultBuilder*` to a Rust `&mut ResultBuilder`. # Safety `ptr` must be a valid `*mut ResultBuilder`.
back-end/crates/malbox-plugin-sdk-cpp/src/ffi_result.rs:35
↓ 3 callers
Method
by_type
(&self, t: PluginTypeConfig)
back-end/crates/malbox-plugin-internal/src/registry/snapshot.rs:46
↓ 3 callers
Function
bytesToText
(b: Uint8Array)
front-end/src/lib/transforms/__tests__/builtin/crypto.test.ts:8
↓ 3 callers
Function
check_rc
(rc: i32)
back-end/crates/malbox-plugin-sdk-cpp/src/ffi_guest_callbacks.rs:28
↓ 3 callers
Function
check_soft_deps
(requires: &'a [Dependency], lockfile: &Lockfile)
back-end/crates/malbox-plugin-registry/src/install.rs:274
↓ 3 callers
Method
cmp
(&self, other: &Self)
back-end/crates/malbox-scheduler/src/task/queue.rs:19
↓ 3 callers
Method
config
Return the stash configuration.
back-end/crates/malbox-plugin-sdk/src/stash.rs:79
↓ 3 callers
Function
confirm
(prompt: &str, skip: bool)
back-end/crates/malbox-cli-common/src/utils/format.rs:425
↓ 3 callers
Function
convert_meta
Convert a C `MalboxPluginMeta` to a Rust `PluginMeta`. # Safety All non-null pointer fields in `meta` must point to valid, null-terminated C strings
back-end/crates/malbox-plugin-sdk-cpp/src/ffi_runtime.rs:74
↓ 3 callers
Function
create_plugin
(parent: &Path, name: &str)
back-end/crates/malbox-plugin-internal/tests/registry_integration.rs:8
↓ 3 callers
Method
create_snapshot
( &self, machine: &Machine, name: &str, )
back-end/crates/malbox-provider-libvirt/src/capabilities/snapshot.rs:9
↓ 3 callers
Function
default_launch
Launch a sample using the platform-native process creation API. This is the default implementation of [`GuestPlugin::execute_sample`].
back-end/crates/malbox-plugin-sdk/src/plugin/guest.rs:15
↓ 3 callers
Method
default_provider
(&self)
back-end/bin/malbox/src/utils/provider_config.rs:51
↓ 3 callers
Function
delete_machine
Delete a machine by ID.
back-end/crates/malbox-database/src/repositories/machinery.rs:306
↓ 3 callers
Method
description
A short description of what the plugin does. May be empty.
back-end/crates/malbox-plugin-sdk/src/meta.rs:73
↓ 3 callers
Function
deserialize
Deserialize a TOML value into a typed configuration. This helper allows providers to deserialize their configuration without depending on the toml cr
back-end/crates/malbox-machinery/src/provider/config.rs:26
↓ 3 callers
Function
desired_features
Cargo features the installed binaries should carry for `providers`, keeping the provisioner choices recorded in the manifest.
back-end/bin/malbox/src/commands/daemon/provider.rs:71
↓ 3 callers
Method
destroy
Tear down a libvirt domain and all its resources. Force-stops the domain if running, deletes all snapshots, removes the domain definition, and delete
back-end/crates/malbox-provider-libvirt/src/capabilities/allocate.rs:71
↓ 3 callers
Function
download_with_progress
( github: &GitHubClient, release: &Release, url: &str, label: &str, observer: &dyn Progres
back-end/crates/malbox-installer/src/steps.rs:30
↓ 3 callers
Method
endpoint
(&self)
back-end/crates/malbox-machinery/src/machine.rs:44
↓ 3 callers
Function
ensure_tool
(tool: &str, hint: &str, step: Step)
back-end/crates/malbox-installer/src/steps.rs:11
↓ 3 callers
Function
extract_tarball
(bytes: &[u8], dest: &Path, step: Step)
back-end/crates/malbox-installer/src/archive.rs:5
↓ 3 callers
Function
fakeLookup
(impl: unknown)
front-end/src/lib/api/submission.test.ts:12
↓ 3 callers
Function
fetch_all_machines
Fetch all machines, ordered by ID.
back-end/crates/malbox-database/src/repositories/machinery.rs:269
↓ 3 callers
Function
fetch_image_by_name
(pool: &PgPool, name: &str)
back-end/crates/malbox-database/src/repositories/images.rs:57
↓ 3 callers
Function
fetch_latest_plugin_reports_for_sample
Per-plugin latest-wins projection for a sample. Returns at most one `PluginReport` per `plugin_name` - the row from the most recent terminal task tha
back-end/crates/malbox-database/src/repositories/plugin_reports.rs:172
↓ 3 callers
Function
fetch_machine
Fetch a single machine by ID.
back-end/crates/malbox-database/src/repositories/machinery.rs:256
↓ 3 callers
Method
field_status
(&mut self, label: &str, status: &str)
back-end/crates/malbox-cli-common/src/utils/format.rs:313
↓ 3 callers
Method
find_web_asset
The prebuilt front-end SPA bundle. Architecture-independent (static HTML/JS), so it carries no arch suffix.
back-end/crates/malbox-installer/src/github.rs:73
↓ 3 callers
Function
format_elapsed
(secs: f64)
back-end/bin/malbox/src/utils/install_renderer.rs:472
↓ 3 callers
Function
format_name
(f: ResultFormat)
back-end/crates/malbox-http/src/http/report_service.rs:253
↓ 3 callers
Function
full_vtable
()
back-end/crates/malbox-plugin-sdk-cpp/src/ffi_test.rs:280
↓ 3 callers
Function
fuzzy_select
(prompt: &str, items: &[String])
back-end/crates/malbox-cli-common/src/utils/format.rs:440
↓ 3 callers
Function
getTask
(fetchFn: FetchLike, id: number)
front-end/src/lib/api/tasks.ts:51
↓ 3 callers
Method
id
back-end/crates/malbox-plugin-sdk-cpp/include/malbox/events.hpp:57
↓ 3 callers
Method
initialize
( &self, request: Request<proto::InitializeRequest>, )
back-end/crates/malbox-plugin-internal/tests/grpc_integration.rs:33
↓ 3 callers
Method
insert_file
Insert a reference to an existing file (plugin-owned). The file is not copied or touched, and is never deleted by the stash.
back-end/crates/malbox-plugin-sdk/src/stash.rs:115
↓ 3 callers
Function
insert_snapshot
( pool: &PgPool, machine_id: i32, name: &str, provider_snapshot_id: &str, description: Opt
back-end/crates/malbox-database/src/repositories/snapshots.rs:27
↓ 3 callers
Function
insert_task
(pool: &PgPool, task: Task)
back-end/crates/malbox-database/src/repositories/tasks.rs:42
↓ 3 callers
Function
install_resolved_plugin
( resolved: ResolvedPlugin, plugins_dir: &Path, force: bool, observer: &dyn ProgressObserver,
back-end/crates/malbox-plugin-registry/src/install.rs:118
↓ 3 callers
Method
is_connected
Check if the server (plugin) is still connected.
back-end/crates/malbox-plugin-transport/src/ipc/tasks.rs:106
↓ 3 callers
Method
is_running
Returns `true` if the plugin is actively running — either [`Ready`](Self::Ready) or [`Busy`](Self::Busy).
back-end/crates/malbox-plugin-internal/src/manager/instance.rs:77
↓ 3 callers
Function
json_value_to_py_obj
Convert a serde_json::Value back to a Python object via Python's json module.
back-end/crates/malbox-plugin-sdk-python/src/types/report.rs:691
↓ 3 callers
Method
kv
Add a key-value list.
back-end/crates/malbox-plugin-sdk/src/report/builder.rs:249
↓ 3 callers
Method
label
(self)
back-end/crates/malbox-database/src/repositories/plugin_reports.rs:27
↓ 3 callers
Method
layer
Create a [`GuestLogLayer`] that pushes into this bus.
back-end/crates/malbox-plugin-sdk/src/log.rs:236
↓ 3 callers
Method
list
(category?: TransformCategory)
front-end/src/lib/transforms/registry.ts:28
↓ 3 callers
Method
list_machines
(&self)
back-end/crates/malbox-cli-common/src/api/machines.rs:66
↓ 3 callers
Function
loadWasmTransform
( wrapper: unknown, provenance: 'ui-managed' | 'git-synced' = 'ui-managed' )
front-end/src/lib/transforms/loader/wasm.ts:34
↓ 3 callers
Function
load_config
()
back-end/crates/malbox-config/src/lib.rs:33
↓ 3 callers
Function
make_meta_cstrings
()
back-end/crates/malbox-plugin-sdk-cpp/src/ffi_runtime.rs:348
↓ 3 callers
Function
malbox_context_clone
(ctx: *const MalboxContext)
back-end/crates/malbox-plugin-sdk-cpp/src/ffi_context.rs:37
↓ 3 callers
Function
malbox_context_drop
(ctx: *mut MalboxContext)
back-end/crates/malbox-plugin-sdk-cpp/src/ffi_context.rs:53
↓ 3 callers
Function
malbox_result_builder_push_bytes
( builder: *mut MalboxResultBuilder, name: *const c_char, data: *const u8, data_len: usize, )
back-end/crates/malbox-plugin-sdk-cpp/src/ffi_result.rs:123
↓ 3 callers
Function
malbox_run_guest_plugin
( vtable: MalboxGuestPluginVtable, meta: MalboxPluginMeta, config: MalboxGuestRuntimeConfig, )
back-end/crates/malbox-plugin-sdk-cpp/src/ffi_runtime.rs:182
↓ 3 callers
Function
malbox_task_get_config_count
(ctx: *const MalboxContext)
back-end/crates/malbox-plugin-sdk-cpp/src/ffi_task.rs:172
↓ 3 callers
Function
malbox_task_get_config_entry
( ctx: *const MalboxContext, index: usize, out_key: *mut *const c_char, out_value: *mut *const
back-end/crates/malbox-plugin-sdk-cpp/src/ffi_task.rs:195
↓ 3 callers
Function
malbox_task_get_id
(ctx: *const MalboxContext)
back-end/crates/malbox-plugin-sdk-cpp/src/ffi_task.rs:66
↓ 3 callers
Function
malbox_task_get_sample_bytes
( ctx: *const MalboxContext, out_ptr: *mut *const u8, out_len: *mut usize, )
back-end/crates/malbox-plugin-sdk-cpp/src/ffi_task.rs:128
↓ 3 callers
Function
malbox_task_get_sample_path
(ctx: *const MalboxContext)
back-end/crates/malbox-plugin-sdk-cpp/src/ffi_task.rs:88
↓ 3 callers
Method
markdown
(text: String)
back-end/crates/malbox-plugin-sdk-python/src/types/report.rs:500
↓ 3 callers
Method
on_stop
(&self)
back-end/crates/malbox-plugin-sdk-cpp/src/ffi_callbacks.rs:171
↓ 3 callers
Method
on_task
(&self, ctx: &Context)
back-end/crates/malbox-plugin-sdk-cpp/src/ffi_callbacks.rs:103
↓ 3 callers
Function
parent_of
(path: &Path)
back-end/crates/malbox-installer/src/install.rs:309
↓ 3 callers
Function
parseHexKey
(keyStr: string)
front-end/src/lib/transforms/builtin/crypto.ts:4
↓ 3 callers
Function
pull_file
Read a file from the work directory.
back-end/crates/malbox-plugin-sdk/src/runtime/guest/files.rs:26
↓ 3 callers
Function
push_file
Push file contents into the work directory under `dest`.
back-end/crates/malbox-plugin-sdk/src/runtime/guest/files.rs:9
↓ 3 callers
Function
py_obj_to_json_value
Convert a Python object to a serde_json::Value via Python's json module.
back-end/crates/malbox-plugin-sdk-python/src/types/report.rs:681
↓ 3 callers
Method
raw
Attach the plugin's native JSON as an escape hatch. Rarely needed - prefer typed blocks.
back-end/crates/malbox-plugin-sdk/src/report/builder.rs:174
↓ 3 callers
Function
rebuild_daemon
Recompile the installed binaries with `features` and swap them in.
back-end/bin/malbox/src/commands/daemon/provider.rs:99
↓ 3 callers
Method
release_for_version
Release matching an installed version, trying the canonical `v` tag prefix first. Resume and rebuild use this to pin to the installed version instead
back-end/crates/malbox-installer/src/github.rs:204
↓ 3 callers
Method
remove
Disable a provider. Returns `false` when it was not enabled. A default pointing at the removed provider moves to the first remaining one (or is droppe
back-end/bin/malbox/src/utils/provider_config.rs:77
↓ 3 callers
Function
resolveHashToSample
( fetchFn: FetchLike, value: string, lookup: typeof lookupSample = lookupSample )
front-end/src/lib/api/submission.ts:33
↓ 3 callers
Function
resolve_exec_params
Resolve execution parameters for a sample target on the given platform. The returned [`ExecParams`] are passed directly to the guest plugin's `Execut
back-end/crates/malbox-scheduler/src/worker/execution.rs:27
↓ 3 callers
Function
resolve_plugin
( specifier: &PluginSpecifier, registry_client: &RegistryClient, platform: &Platform, strategy
back-end/crates/malbox-plugin-registry/src/install.rs:35
↓ 3 callers
Function
resource_error_response
Map a `ResourceError` to an appropriate HTTP response.
back-end/crates/malbox-http/src/http/machines.rs:276
↓ 3 callers
Method
restore_snapshot
( &self, machine: &Machine, snapshot_id: &SnapshotId, )
back-end/crates/malbox-provider-libvirt/src/capabilities/snapshot.rs:43
↓ 3 callers
Function
result_format_to_proto
(format: ResultFormat)
back-end/crates/malbox-plugin-sdk/src/runtime/guest/stream.rs:80
↓ 3 callers
Method
results
back-end/crates/malbox-plugin-sdk-cpp/include/malbox/context.hpp:273
↓ 3 callers
Method
sample_bytes
Read the entire sample file into memory. Be mindful of large samples.
back-end/crates/malbox-plugin-sdk/src/context.rs:223
↓ 3 callers
Function
sample_release
()
back-end/crates/malbox-plugin-registry/tests/resolve.rs:71
↓ 3 callers
Method
save
(&self)
back-end/bin/malbox/src/utils/provider_config.rs:103
↓ 3 callers
Method
shutdown
Shutdown all workers gracefully.
back-end/crates/malbox-scheduler/src/worker/pool.rs:212
↓ 3 callers
Method
source_archive_url
(&self, owner: &str, repo: &str)
back-end/crates/malbox-installer/src/github.rs:78
↓ 3 callers
Function
spawn_host_plugin
Spawn a host plugin as a child process. The returned instance is in the [`Starting`](PluginLifecycle::Starting) state with the process handle attache
back-end/crates/malbox-plugin-internal/src/manager.rs:354
↓ 3 callers
Function
start_service
(unit: &str)
back-end/crates/malbox-installer/src/steps/systemd.rs:116
↓ 3 callers
Method
stop
Shut down a running libvirt domain. With `force: false`, sends an ACPI shutdown signal and waits up to 5s for the guest to power off. Falls back to f
back-end/crates/malbox-provider-libvirt/src/capabilities/allocate.rs:152
↓ 3 callers
Function
stop_service
(unit: &str)
back-end/crates/malbox-installer/src/steps/systemd.rs:112
↓ 3 callers
Function
temp_stash
()
back-end/crates/malbox-plugin-sdk/src/stash.rs:228
← previous
next →
301–400 of 2,140, ranked by callers