5 Repos
Calls WebAssembly functions from host code using bindgen annotations for automatic parameter marshalling.
Distinct from Function Calling Interfaces: Distinct from Function Calling Interfaces: focuses on calling WebAssembly functions from host code, not AI model tool invocation.
Explore 5 awesome GitHub repositories matching artificial intelligence & ml · WebAssembly Function Callings. Refine with filters or upvote what's useful.
WasmEdge is an extensible WebAssembly runtime that executes WebAssembly bytecode in a secure sandbox for cloud, edge, and embedded applications. It functions as a multi-language compiler, compiling applications written in Rust, JavaScript, Go, and Python into WebAssembly bytecode for sandboxed execution, and as a server-side JavaScript runtime that runs JavaScript programs with ES6 modules, NPM packages, and Node.js-compatible APIs. The runtime also serves as an AI inference runtime, executing AI models from JavaScript using WASI-NN plug-ins for inference tasks on personal devices and edge har
Calls WebAssembly functions annotated with bindgen to pass complex parameters automatically from Go code.
Wasm3 ist ein WebAssembly-Interpreter, der für die Integration in eingebettete Laufzeitumgebungen entwickelt wurde. Er ermöglicht die Ausführung portabler Binärlogik auf Mikrocontrollern und ressourcenbeschränkter Hardware und bietet Unterstützung für Module, die das WebAssembly System Interface nutzen, um mit Systemressourcen zu interagieren. Die Laufzeitumgebung verwendet registerbasierte Bytecode-Interpretation und direktes Threaded-Dispatching, um virtuelle Register physischen CPU-Registern zuzuordnen. Sie enthält eine Host-Call-Schnittstelle, um Importe C-Funktionen zuzuordnen, und nutzt statische Modulvalidierung, um sicherzustellen, dass Bytecode vor der Ausführung den Spezifikationsregeln entspricht. Das Projekt bietet Ressourcenmanagement durch lineare Speicherzuweisungsbegrenzungen und anweisungsbasierte Gas-Messung, um Endlosschleifen und Systemerschöpfung zu verhindern. Die Beobachtbarkeit wird durch Ausführungs-Tracing, Flussüberwachung und Profiling der Interpreter-Operationen gehandhabt. Für Entwicklung und Qualitätssicherung enthält die Laufzeitumgebung ein interaktives REPL und unterstützt Coverage-gesteuertes Fuzzing.
Maps WebAssembly imports to C functions to allow guest modules to interact with the host system.
Detours is a library for intercepting Win32 API calls and redirecting function calls at runtime on Windows, enabling binary-level instrumentation without requiring access to the original source code. It functions as an API hooking library and binary instrumentation toolkit, allowing developers to monitor or modify the behavior of compiled Windows binaries by hooking into their function execution paths. The project achieves this through detour-based function interception, where the first few instructions of a target function are replaced with a jump to a user-supplied detour function, while pr
Routes calls from one function to a custom replacement, enabling instrumentation or extension of existing APIs.
Extism is a cross-language WebAssembly plugin framework that lets applications written in any programming language load and execute plugins written in any other language. It provides a universal plugin system where host applications use idiomatic SDKs to load WebAssembly modules, call exported functions, and pass data back and forth, while plugin authors use development kits that handle memory management and host interaction so they can focus on business logic. The framework distinguishes itself through its comprehensive approach to cross-language integration, offering schema-driven binding g
Calls named functions inside loaded WebAssembly modules and receives return values through the host SDK.
Lucet ist eine WebAssembly-Runtime und ein Sandboxing-Compiler, der WebAssembly-Bytecode in nativen Maschinencode übersetzt. Es dient als sichere Ausführungsumgebung und Generator für nativen Code, der darauf ausgelegt ist, nicht vertrauenswürdigen Code auszuführen und gleichzeitig unbefugten Zugriff auf Host-Systemressourcen zu verhindern. Das Projekt konzentriert sich auf hochperformantes Sandboxing durch Ahead-of-Time-Kompilierung, um nahezu native Ausführungsgeschwindigkeiten zu erreichen. Es implementiert softwarebasierte Fehlertrennung und eine Host-Call-Schnittstelle, um die sichere Kommunikation und den Datenaustausch zwischen dem isolierten Modul und der externen Host-Anwendung zu verwalten. Das System bietet Funktionen für die Generierung von nativem Maschinencode, lineares Memory-Mapping und Sandbox-basierte Ausführung, um eine starke Speicherisolierung zu gewährleisten.
Provides a host-call interface to manage secure communication and data exchange between sandboxed modules and the host.