MCPcopy Create free account

hub / github.com/DualHorizon/malbox / functions

Functions2,140 in github.com/DualHorizon/malbox

↓ 5 callersMethoddrain_pending
(&self)
back-end/crates/malbox-plugin-internal/src/registry/watcher.rs:86
↓ 5 callersMethodenabled
(&self)
back-end/bin/malbox/src/utils/provider_config.rs:38
↓ 5 callersFunctionevent_to_task_result
Convert an internal `Event` into a `TaskResult` proto message. Used by `GrpcEmitter` to send event metadata back through the `ExecuteTask` streaming
back-end/crates/malbox-plugin-transport/src/grpc/conversions.rs:10
↓ 5 callersFunctionfind_matching_asset
( release: &'a Release, plugin_name: &str, platform: &Platform, )
back-end/crates/malbox-plugin-registry/src/resolve.rs:105
↓ 5 callersFunctionformat_time
(timestamp: &str)
back-end/crates/malbox-cli-common/src/utils/format.rs:86
↓ 5 callersFunctionhashType
(value: string)
front-end/src/lib/api/submission.ts:15
↓ 5 callersMethodinto_plugin_result
Serialize this report into a [`PluginResult::Json`] with the well-known [`REPORT_RESULT_NAME`] name, ready for `ctx.push_result`.
back-end/crates/malbox-plugin-sdk/src/report.rs:78
↓ 5 callersFunctionis_absolute_for_plugin
(path: &Path, plugin_type: PluginTypeConfig)
back-end/crates/malbox-plugin-manifest/src/runtime.rs:16
↓ 5 callersFunctionis_handler_attr
Check whether an attribute matches a handler name. Supports both bare `#[on_task]` and path-qualified `#[malbox::on_task]`.
back-end/crates/malbox-plugin-macros/src/handlers_impl.rs:86
↓ 5 callersMethodlistDetectable
()
front-end/src/lib/transforms/registry.ts:36
↓ 5 callersMethodlist_snapshots
(&self, machine_id: i32)
back-end/crates/malbox-cli-common/src/api/machines.rs:107
↓ 5 callersFunctionloadYamlTransform
( yamlString: string, registry: TransformRegistry, provenance: 'ui-managed' | 'git-synced' = 'ui-managed' )
front-end/src/lib/transforms/loader/yaml.ts:31
↓ 5 callersFunctionmalbox_last_error
(out_message: *mut *const c_char)
back-end/crates/malbox-plugin-sdk-cpp/src/error.rs:81
↓ 5 callersFunctionmalbox_result_builder_push_json
( builder: *mut MalboxResultBuilder, name: *const c_char, data: *const u8, data_len: usize, )
back-end/crates/malbox-plugin-sdk-cpp/src/ffi_result.rs:78
↓ 5 callersFunctionmalbox_run_host_plugin
( vtable: MalboxPluginVtable, meta: MalboxPluginMeta, )
back-end/crates/malbox-plugin-sdk-cpp/src/ffi_runtime.rs:123
↓ 5 callersFunctionnoop_emitter
()
back-end/crates/malbox-plugin-sdk/src/context.rs:244
↓ 5 callersFunctionnormalize_path
Normalize a path by resolving `.` and `..` components without filesystem access.
back-end/crates/malbox-plugin-sdk/src/runtime/guest/files.rs:60
↓ 5 callersFunctionparse_specifier
(input: &str)
back-end/crates/malbox-plugin-registry/src/resolve.rs:68
↓ 5 callersMethodpath
Resolve the on-disk path for a result.
back-end/crates/malbox-utils/src/storage/results.rs:47
↓ 5 callersMethodpayload
Access the request payload bytes (postcard-serialized).
back-end/crates/malbox-plugin-transport/src/ipc/tasks.rs:180
↓ 5 callersMethodpush
(&self, result: Bound<'_, PyPluginResult>)
back-end/crates/malbox-plugin-sdk-python/src/types/context.rs:86
↓ 5 callersMethodrelease
Release a machine after task completion. Marks the machine as `reverting` and spawns an async revert.
back-end/crates/malbox-resources/src/pool.rs:55
↓ 5 callersFunctionrelease_arch
()
back-end/crates/malbox-installer/src/steps/daemon.rs:272
↓ 5 callersFunctionresolve_machine
(ctx: &Context, machine: Option<String>)
back-end/bin/malbox/src/commands/machine.rs:146
↓ 5 callersFunctionresolve_path
Resolve a relative path against `work_dir`, rejecting traversal attempts. - Absolute paths are rejected. - `..` components that would escape `work_di
back-end/crates/malbox-plugin-sdk/src/runtime/guest/files.rs:40
↓ 5 callersFunctionresult_to_rc
Converts a Result<T, E> to an int32_t return code, storing the error message if any.
back-end/crates/malbox-plugin-sdk-cpp/src/error.rs:42
↓ 5 callersMethodresults
(&self)
back-end/crates/malbox-plugin-sdk-python/src/types/context.rs:170
↓ 5 callersFunctionrun
()
back-end/xtask/src/dist_cpp_sdk.rs:56
↓ 5 callersFunctionsaveToStorage
(data: ContextMenuSettingsData)
front-end/src/lib/stores/contextMenuSettings.svelte.ts:39
↓ 5 callersMethodsearch
(&self, query: &str)
back-end/crates/malbox-plugin-registry/src/index.rs:56
↓ 5 callersFunctionsynthesize_report
(plugin_name: &str, artifacts: &[TaskResult])
back-end/crates/malbox-http/src/http/report_service.rs:142
↓ 5 callersFunctiontextToBytes
(s: string)
front-end/src/lib/transforms/__tests__/builtin/analysis.test.ts:4
↓ 5 callersFunctionunwrap
(m: Record<string, unknown>)
front-end/src/lib/transforms/builtin/compression.ts:26
↓ 5 callersMethodupdate
(id: string, changes: Partial<Omit<LookupProvider, 'id'>>)
front-end/src/lib/stores/lookupProviders.svelte.ts:111
↓ 4 callersMethodapply_pending
Apply any pending filesystem changes. Returns a diff of what changed.
back-end/crates/malbox-plugin-internal/src/registry.rs:77
↓ 4 callersMethodbegin_arr
back-end/crates/malbox-plugin-sdk-cpp/include/malbox/report.hpp:251
↓ 4 callersMethodboolean
back-end/crates/malbox-plugin-sdk-cpp/include/malbox/report.hpp:245
↓ 4 callersMethodbuild_progress
(&self, _compiled: usize, _total: usize, _crate_name: &str)
back-end/crates/malbox-installer/src/progress.rs:18
↓ 4 callersFunctionbytesToText
(b: Uint8Array)
front-end/src/lib/transforms/__tests__/pipeline-extended.test.ts:10
↓ 4 callersFunctionbytesToText
(b: Uint8Array)
front-end/src/lib/transforms/__tests__/auto-detect.test.ts:11
↓ 4 callersFunctionbytesToText
(b: Uint8Array)
front-end/src/lib/transforms/__tests__/builtin/encoding.test.ts:18
↓ 4 callersMethodcancel
Cancel a task by ID. Returns true if the task was found and cancelled.
back-end/crates/malbox-scheduler/src/task/cancel.rs:27
↓ 4 callersFunctioncheck_rc
Helper to convert a non-zero return code to SdkError::Plugin
back-end/crates/malbox-plugin-sdk-cpp/src/ffi_callbacks.rs:47
↓ 4 callersFunctioncheck_tool
(name: &str)
back-end/crates/malbox-plugin-registry/src/source.rs:33
↓ 4 callersMethodcontext
Attach context describing where this IOC was observed.
back-end/crates/malbox-plugin-sdk/src/report/builder.rs:27
↓ 4 callersFunctioncreate_plugin
(parent: &Path, name: &str)
back-end/crates/malbox-plugin-internal/src/registry.rs:127
↓ 4 callersFunctioncreate_plugin_dir
(parent: &Path, name: &str, manifest_toml: &str)
back-end/crates/malbox-plugin-internal/src/registry/scanner.rs:149
↓ 4 callersFunctioncstr_to_string
Read a `*const c_char` into a `String`. Sets the last error and returns `None` if the pointer is null or not valid UTF-8.
back-end/crates/malbox-plugin-sdk-cpp/src/ffi_result.rs:48
↓ 4 callersMethoddelete_snapshot
Delete a snapshot from both the provider and the database. Provider deletion is best-effort: if it fails the DB record is still removed so the system
back-end/crates/malbox-resources/src/pool.rs:95
↓ 4 callersMethoddownload_asset
Download `url`, reporting `(bytes_downloaded, total_bytes)` after each chunk so callers can surface progress.
back-end/crates/malbox-installer/src/github.rs:218
↓ 4 callersMethodemit
Emit a lightweight event with an optional small payload.
back-end/crates/malbox-plugin-transport/src/ipc/events.rs:134
↓ 4 callersFunctionempty_config
()
back-end/crates/malbox-plugin-sdk-cpp/src/ffi_test.rs:292
↓ 4 callersFunctionempty_with_hint
(msg: impl std::fmt::Display, hint: impl std::fmt::Display)
back-end/crates/malbox-cli-common/src/utils/format.rs:348
↓ 4 callersMethodend_arr
back-end/crates/malbox-plugin-sdk-cpp/include/malbox/report.hpp:252
↓ 4 callersMethodentry
Returns a reference to the plugin's registry entry.
back-end/crates/malbox-plugin-internal/src/manager/handle.rs:67
↓ 4 callersFunctionfetch_active_snapshot
Fetch the active snapshot for a machine.
back-end/crates/malbox-database/src/repositories/snapshots.rs:73
↓ 4 callersFunctionfetch_sample_by_hash
( pool: &PgPool, hash_type: &str, hash_value: &str, )
back-end/crates/malbox-database/src/repositories/samples.rs:100
↓ 4 callersFunctionfetch_sample_by_id
(pool: &PgPool, id: i64)
back-end/crates/malbox-database/src/repositories/samples.rs:141
↓ 4 callersFunctionfetch_task_results
Fetch all results for a given task.
back-end/crates/malbox-database/src/repositories/task_results.rs:108
↓ 4 callersMethodflush_chunked
Finish any in-progress chunked transfer and move it into `outputs`.
back-end/crates/malbox-plugin-internal/src/manager/ipc_reactor.rs:320
↓ 4 callersFunctionformat_cpp_vector
(patterns: &[String])
back-end/crates/malbox-codegen/src/main.rs:112
↓ 4 callersMethodid
The task's numeric identifier, unique within a single daemon run.
back-end/crates/malbox-plugin-sdk/src/context.rs:213
↓ 4 callersFunctioninit_tracing
Initialize tracing with sensible defaults for plugins. When a [`LogBus`](crate::log::LogBus) is provided, a [`GuestLogLayer`](crate::log::GuestLogLay
back-end/crates/malbox-plugin-sdk/src/internal.rs:35
↓ 4 callersFunctioninvalid_url
(url: &str, reason: &str)
back-end/crates/malbox-installer/src/steps/config.rs:96
↓ 4 callersMethodis_empty
(&self)
back-end/crates/malbox-plugin-internal/src/registry/snapshot.rs:66
↓ 4 callersFunctionis_terminal
(s: &TaskState)
back-end/crates/malbox-http/src/http/report_service.rs:228
↓ 4 callersMethodload
(path: &Path)
back-end/crates/malbox-plugin-registry/src/lockfile.rs:45
↓ 4 callersFunctionloadJsTransform
( module: unknown, provenance: 'ui-managed' | 'git-synced' = 'ui-managed' )
front-end/src/lib/transforms/loader/js.ts:34
↓ 4 callersFunctionmakeRegistry
()
front-end/src/lib/transforms/__tests__/loader/yaml.test.ts:6
↓ 4 callersFunctionmake_task
(platform: Option<MachinePlatform>, snapshot_id: Option<uuid::Uuid>)
back-end/crates/malbox-scheduler/src/task/types.rs:118
↓ 4 callersFunctionmalbox_context_emit_event
( ctx: *const MalboxContext, event: MalboxEvent, )
back-end/crates/malbox-plugin-sdk-cpp/src/ffi_context.rs:110
↓ 4 callersFunctionmalbox_context_emit_progress
( ctx: *const MalboxContext, progress: f64, message: *const c_char, )
back-end/crates/malbox-plugin-sdk-cpp/src/ffi_context.rs:73
↓ 4 callersFunctionmalbox_context_flush_results
( ctx: *const MalboxContext, names: *const *const c_char, datas: *const *const u8, data_lens:
back-end/crates/malbox-plugin-sdk-cpp/src/ffi_context.rs:223
↓ 4 callersFunctionmalbox_context_warn
( ctx: *const MalboxContext, message: *const c_char, )
back-end/crates/malbox-plugin-sdk-cpp/src/ffi_context.rs:143
↓ 4 callersFunctionmalbox_task_get_config_value
( ctx: *const MalboxContext, key: *const c_char, )
back-end/crates/malbox-plugin-sdk-cpp/src/ffi_task.rs:263
↓ 4 callersMethodmaybe_await
(&self, py: Python<'_>, result: &Bound<'_, PyAny>)
back-end/crates/malbox-plugin-sdk-python/src/plugin.rs:57
↓ 4 callersMethodnotify
Tell the daemon this plugin produced data of the given kind. Failures may be ignored: the data send has already committed by the time this runs, so a
back-end/crates/malbox-plugin-transport/src/ipc/daemon_notify.rs:86
↓ 4 callersMethodnumber
back-end/crates/malbox-plugin-sdk-cpp/include/malbox/report.hpp:243
↓ 4 callersFunctionpad
(n: number)
front-end/src/lib/api/format.ts:11
↓ 4 callersFunctionparse_cargo_artifact
(json_line: &str)
back-end/crates/malbox-installer/src/build_parse.rs:1
↓ 4 callersMethodregister
(userData: { name: string; email: string; password: string })
front-end/src/lib/stores/auth.svelte.ts:47
↓ 4 callersFunctionremove_plugin
(name: &str, plugins_dir: &Path)
back-end/crates/malbox-plugin-registry/src/remove.rs:5
↓ 4 callersFunctionrequest
( fetchFn: FetchLike, path: string, opts: RequestOptions = {} )
front-end/src/lib/api/client.ts:18
↓ 4 callersFunctionreset_counters
()
back-end/crates/malbox-plugin-sdk-cpp/src/ffi_test.rs:219
↓ 4 callersFunctionrules
Compile once per process (OK whether the plugin is `ephemeral` or `persistent`) — the ruleset is small and yara-x compilation is fast, but there's no
back-end/examples/plugins/guest-yara-scanner/src/main.rs:29
↓ 4 callersMethodrun
(self, token: CancellationToken)
back-end/crates/malbox-scheduler/src/worker.rs:209
↓ 4 callersFunctionsample_manifest
()
back-end/crates/malbox-installer/tests/manifest.rs:7
↓ 4 callersFunctionsample_release
()
back-end/crates/malbox-installer/tests/github.rs:3
↓ 4 callersFunctionsaveToStorage
(providers: LookupProvider[])
front-end/src/lib/stores/lookupProviders.svelte.ts:88
↓ 4 callersFunctionschedule
()
front-end/src/lib/api/polling.ts:37
↓ 4 callersFunctionsection_divider
(title: &str)
back-end/crates/malbox-cli-common/src/utils/format.rs:128
↓ 4 callersMethodset_endpoint
(&mut self, endpoint: Option<MachineEndpoint>)
back-end/crates/malbox-machinery/src/machine.rs:52
↓ 4 callersMethodseverity
Precedence for aggregating plugin verdicts: worst wins.
back-end/crates/malbox-plugin-sdk/src/report.rs:130
↓ 4 callersFunctionsplit_features
Split a feature set into `(providers, provisioners)` by prefix.
back-end/crates/malbox-installer/src/features.rs:62
↓ 4 callersMethodstart
(message: impl Into<String>)
back-end/crates/malbox-cli-common/src/utils/progress.rs:20
↓ 4 callersFunctionstatic_str_from_ptr
Convert a `*const c_char` to a `&'static str` by copying the bytes and leaking the allocation. This is intentional: plugin metadata strings are expec
back-end/crates/malbox-plugin-sdk-cpp/src/ffi_runtime.rs:40
↓ 4 callersMethodtask
Get a read-only view of the current task's metadata.
back-end/crates/malbox-plugin-sdk/src/context.rs:95
↓ 4 callersFunctiontextToBytes
(s: string)
front-end/src/lib/transforms/__tests__/builtin/text.test.ts:11
↓ 4 callersFunctiontransformSubmenu
()
front-end/src/lib/context-menu/registry.ts:67
↓ 4 callersFunctionvalid_manifest_toml
()
back-end/crates/malbox-plugin-manifest/tests/parse.rs:8
← previousnext →201–300 of 2,140, ranked by callers