# FFI

Published articles for FFI.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## RustMC: Automated Verification of Real-World Concurrent Rust

DevFeed: [RustMC: Automated Verification of Real-World Concurrent Rust](<https://devfeed.tech/articles/rustmc-automated-verification-of-real-world-concurrent-rust-141437.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2502.06293>)

Author: Oliver Pearce, Julien Lange, Dan O'Keeffe

Published: 2026-11-18T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [Rust](<https://devfeed.tech/topics/rust.md>), [Automated reasoning](<https://devfeed.tech/topics/automated-reasoning.md>), [race-condition](<https://devfeed.tech/topics/race-condition.md>)

Tags: [atomic](<https://devfeed.tech/tags/atomic.md>), [automated](<https://devfeed.tech/tags/automated.md>), [bugs](<https://devfeed.tech/tags/bugs.md>), [c-c-plus-plus](<https://devfeed.tech/tags/c-c-plus-plus.md>), [concurrency](<https://devfeed.tech/tags/concurrency.md>), [concurrency-bugs](<https://devfeed.tech/tags/concurrency-bugs.md>), [concurrent](<https://devfeed.tech/tags/concurrent.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [cs-pl](<https://devfeed.tech/tags/cs-pl.md>), [data-structures](<https://devfeed.tech/tags/data-structures.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [ffi](<https://devfeed.tech/tags/ffi.md>), [loom](<https://devfeed.tech/tags/loom.md>), [model](<https://devfeed.tech/tags/model.md>), [real-world](<https://devfeed.tech/tags/real-world.md>), [rust](<https://devfeed.tech/tags/rust.md>), [stateless](<https://devfeed.tech/tags/stateless.md>), [unmodified](<https://devfeed.tech/tags/unmodified.md>), [verification](<https://devfeed.tech/tags/verification.md>)

### AI overview

RustMC is a stateless model checker designed to verify unmodified concurrent Rust programs. It builds on GenMC's LLVM IR framework, which also lets it cover foreign-function dependencies written in C or C++. The paper identifies Rust-specific implementation challenges: intercepting threading operations, promoting memory intrinsics, and handling uninitialised accesses. Case studies adapted from real-world programs report concurrency bugs in unsafe Rust, FFI calls, and atomic operations. The evaluation uses the Loom model checker test suite and production-level Rust concurrent data structures; the supplied abstract does not report detailed results.

### Source excerpt

arXiv:2502.06293v2 Announce Type: replace-cross Abstract: RustMC is a stateless model checker that targets push-button verification of unmodified concurrent Rust programs. As both Rust and C/C++ compile to LLVM IR, RustMC builds on GenMC which provides a verification framework for LLVM IR. This allows verification of Rust code and any foreign function dependencies. In this tool paper we present key implementation challenges, use-cases, and an empirical evaluation of RustMC. The challenges include intercepting threading operations, promoting memory intrinsics, and handling uninitialised accesses, all stemming from Rust's unique compilation strategy. Case studies adapted from real-world programs show RustMC finds concurrency bugs in unsafe Rust code, FFI calls to C/C++, and atomic operations. We evaluate our tool's functionality on the Loom model checker test suite and a set of production-level Rust concurrent data structures.

## Node.js Brings Debounce, Throttle, and PKCS#12 Parsing Into Core Modules

DevFeed: [Node.js Brings Debounce, Throttle, and PKCS#12 Parsing Into Core Modules](<https://devfeed.tech/articles/node-js-brings-debounce-throttle-and-pkcs-12-parsing-into-core-modules-133846.md>)

Original publisher: [Read original article](<https://www.infoq.com/news/2026/11/nodejs-debounce-throttle/>)

Author: Daniel Curtis

Published: 2026-11-14T08:03:00Z

Content type: news

Language: en

Sources: [InfoQ](<https://devfeed.tech/sources/infoq.md>)

Topics: [Node.js](<https://devfeed.tech/topics/node-js.md>), [modules](<https://devfeed.tech/topics/modules.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [crypto](<https://devfeed.tech/tags/crypto.md>), [debounce](<https://devfeed.tech/tags/debounce.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [development](<https://devfeed.tech/tags/development.md>), [experimental](<https://devfeed.tech/tags/experimental.md>), [ffi](<https://devfeed.tech/tags/ffi.md>), [file-system](<https://devfeed.tech/tags/file-system.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [javascript-runtime](<https://devfeed.tech/tags/javascript-runtime.md>), [js](<https://devfeed.tech/tags/js.md>), [library](<https://devfeed.tech/tags/library.md>), [lts](<https://devfeed.tech/tags/lts.md>), [news](<https://devfeed.tech/tags/news.md>), [node](<https://devfeed.tech/tags/node.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [node-js-26](<https://devfeed.tech/tags/node-js-26.md>), [nodejs-debounce-throttle](<https://devfeed.tech/tags/nodejs-debounce-throttle.md>), [parsing](<https://devfeed.tech/tags/parsing.md>), [reduce](<https://devfeed.tech/tags/reduce.md>), [web-development](<https://devfeed.tech/tags/web-development.md>)

### AI overview

Node.js 26.10.0 adds core utilities and APIs that cover several tasks commonly handled by dependencies. `util.debounce()` and `util.throttle()` support repeated calls with cancellation of future invocations and an option to run the first call immediately; `util.markPromiseAsHandled()` lets frameworks explicitly mark a promise as handled. `crypto.parsePKCS12()` exposes private keys, a certificate, and additional certificates from `.p12` and `.pfx` bundles, which Node.js previously parsed internally for TLS but did not expose to JavaScript. The experimental Virtual File System now lets `node:ffi` load libraries from a mounted VFS; the patch also fixes `dlopen` forwarding an undefined `flags` argument that broke loading from the real filesystem. The article says Node.js 26 is now Active LTS as "Lithium," with support through April 2029.

### Source excerpt

Node.js 26.10.0 adds util.debounce() and util.throttle(), plus util.markPromiseAsHandled(), to the core library. It also introduces crypto.parsePKCS12() for reading .p12 and .pfx bundles, and extends the experimental Virtual File System to node:ffi. The additions reduce the need for some userland dependencies. Node.js 26 is now Active LTS. By Daniel Curtis

## Ubuntu 26.10 Begins Rolling Out upki Support For Certificate Revocation

DevFeed: [Ubuntu 26.10 Begins Rolling Out upki Support For Certificate Revocation](<https://devfeed.tech/articles/ubuntu-26-10-begins-rolling-out-upki-support-for-certificate-revocation-127685.md>)

Original publisher: [Read original article](<https://www.phoronix.com/news/Ubuntu-26.10-Does-upki>)

Author: Michael Larabel

Published: 2026-11-11T01:43:13Z

Content type: news

Language: en

Sources: [Phoronix](<https://devfeed.tech/sources/phoronix.md>)

Topics: [Ubuntu](<https://devfeed.tech/topics/ubuntu.md>), [cURL](<https://devfeed.tech/topics/curl.md>), [certificates](<https://devfeed.tech/topics/certificates.md>), [canonical](<https://devfeed.tech/topics/canonical.md>)

Tags: [c](<https://devfeed.tech/tags/c.md>), [ca](<https://devfeed.tech/tags/ca.md>), [canonical](<https://devfeed.tech/tags/canonical.md>), [certificate](<https://devfeed.tech/tags/certificate.md>), [certificate-revocation](<https://devfeed.tech/tags/certificate-revocation.md>), [certificates](<https://devfeed.tech/tags/certificates.md>), [curl](<https://devfeed.tech/tags/curl.md>), [desktop-linux](<https://devfeed.tech/tags/desktop-linux.md>), [discourse](<https://devfeed.tech/tags/discourse.md>), [emudhra](<https://devfeed.tech/tags/emudhra.md>), [ffi](<https://devfeed.tech/tags/ffi.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [linux-benchmarking](<https://devfeed.tech/tags/linux-benchmarking.md>), [linux-hardware-benchmarks](<https://devfeed.tech/tags/linux-hardware-benchmarks.md>), [linux-hardware-reviews](<https://devfeed.tech/tags/linux-hardware-reviews.md>), [linux-how-to](<https://devfeed.tech/tags/linux-how-to.md>), [linux-performance](<https://devfeed.tech/tags/linux-performance.md>), [linux-server-benchmarks](<https://devfeed.tech/tags/linux-server-benchmarks.md>), [mozilla](<https://devfeed.tech/tags/mozilla.md>), [open-source-graphics](<https://devfeed.tech/tags/open-source-graphics.md>), [openssl](<https://devfeed.tech/tags/openssl.md>), [operating-system](<https://devfeed.tech/tags/operating-system.md>), [phoronix](<https://devfeed.tech/tags/phoronix.md>), [phoronix-test-suite](<https://devfeed.tech/tags/phoronix-test-suite.md>), [private-keys](<https://devfeed.tech/tags/private-keys.md>), [rust](<https://devfeed.tech/tags/rust.md>), [rustls](<https://devfeed.tech/tags/rustls.md>), [ubuntu](<https://devfeed.tech/tags/ubuntu.md>), [ubuntu-26-10](<https://devfeed.tech/tags/ubuntu-26-10.md>), [ubuntu-27-04](<https://devfeed.tech/tags/ubuntu-27-04.md>), [ubuntu-benchmarks](<https://devfeed.tech/tags/ubuntu-benchmarks.md>), [ubuntu-hardware](<https://devfeed.tech/tags/ubuntu-hardware.md>)

### AI overview

Canonical is rolling out upki, a Rust-based certificate verification system that checks revocation status for certificates from publicly trusted authorities. Ubuntu 26.10 enabled it only in the curl package because the change landed late; developers plan to use it in OpenSSL for certificate verification in Ubuntu 27.04. The excerpt says this could provide a quicker path to revoking affected certificates across the operating system, citing the eMudhra intermediate CA private-key exposure as motivation.

### Source excerpt

With Ubuntu 26.10 that shipped in October there is a little talked about feature with upki revocation support beginning to roll out. Due to the late change, upki for certificate revocation was only enabled for Ubuntu 26.10's curl package but with more plans ahead...

## CVE-2026-118769 - Botan: Integer overflow when reporting block size in FFI can cause memory corruption

DevFeed: [CVE-2026-118769 - Botan: Integer overflow when reporting block size in FFI can cause memory corruption](<https://devfeed.tech/articles/cve-2026-118769-botan-integer-overflow-when-reporting-block-size-in-ffi-can-cause-memory-corruption-106782.md>)

Original publisher: [Read original article](<https://cvefeed.io/vuln/detail/CVE-2026-118769>)

Author: CVEFEED.io; github.com

Published: 2026-10-29T18:17:29Z

Content type: news

Language: en

Sources: [Latest High/Critical Vulnerabilitiy Feed](<https://devfeed.tech/sources/latest-high-critical-vulnerabilitiy-feed.md>)

Topics: [Memory Safety](<https://devfeed.tech/topics/memory-safety.md>), [Cryptography](<https://devfeed.tech/topics/cryptography.md>), [Library](<https://devfeed.tech/topics/library.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [api](<https://devfeed.tech/tags/api.md>), [block](<https://devfeed.tech/tags/block.md>), [botan](<https://devfeed.tech/tags/botan.md>), [botan-project](<https://devfeed.tech/tags/botan-project.md>), [c](<https://devfeed.tech/tags/c.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [cryptography](<https://devfeed.tech/tags/cryptography.md>), [cve-2026-118769](<https://devfeed.tech/tags/cve-2026-118769.md>), [ffi](<https://devfeed.tech/tags/ffi.md>), [fixed](<https://devfeed.tech/tags/fixed.md>), [integer-overflow](<https://devfeed.tech/tags/integer-overflow.md>), [library](<https://devfeed.tech/tags/library.md>), [memory](<https://devfeed.tech/tags/memory.md>), [memory-corruption](<https://devfeed.tech/tags/memory-corruption.md>), [parameter](<https://devfeed.tech/tags/parameter.md>), [size](<https://devfeed.tech/tags/size.md>), [version](<https://devfeed.tech/tags/version.md>)

### AI overview

In Botan versions 2.1.0 through before 3.13.0, botan_block_cipher_block_size converted a size_t block size to int without checking bounds. If an application accepts external algorithm parameter strings and uses the FFI raw ECB mode, an attacker can select the variable-block-size Lion cipher; truncation can lead the caller to allocate too little memory, and later block processing can cause memory corruption. The C++ API and commonly used C API modes such as CBC and CTR are unaffected. The issue is fixed in Botan 3.13.0.

### Source excerpt

CVE ID :CVE-2026-118769 Published : Oct. 29, 2026, 6:17 p.m. | 2 hours, 12 minutes ago Description :Botan is a C++ cryptography library. From 2.1.0 until 3.13.0, the Botan C API function botan_block_cipher_block_size converted a size_t block size to int without a bounds check. In an application that accepts external algorithm parameter strings and uses the FFI raw ECB mode, an attacker can select the variable-block-size Lion cipher so that the reported size is truncated, the caller allocates insufficient memory, and later block processing causes memory corruption. The C++ API and normally used C API modes such as CBC and CTR are unaffected. This issue is fixed in version 3.13.0. Severity: 9.2 | CRITICAL Visit the link for more details, such as CVSS details, affected products, timeline, and more...

## Announcing Rust 1.99.1

DevFeed: [Announcing Rust 1.99.1](<https://devfeed.tech/articles/announcing-rust-1-99-1-88066.md>)

Original publisher: [Read original article](<https://blog.rust-lang.org/2026/10/15/Rust-1.99.1/>)

Author: The Rust Release Team

Published: 2026-10-15T00:00:00Z

Content type: release

Language: en

Sources: [Rust](<https://devfeed.tech/sources/rust-blog.md>)

Topics: [Rust](<https://devfeed.tech/topics/rust.md>), [LLVM](<https://devfeed.tech/topics/llvm.md>), [toolchain](<https://devfeed.tech/topics/toolchain.md>), [D](<https://devfeed.tech/topics/d.md>)

Tags: [bugs](<https://devfeed.tech/tags/bugs.md>), [ffi](<https://devfeed.tech/tags/ffi.md>), [llvm](<https://devfeed.tech/tags/llvm.md>), [macos](<https://devfeed.tech/tags/macos.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [rust](<https://devfeed.tech/tags/rust.md>), [rust-1-99](<https://devfeed.tech/tags/rust-1-99.md>), [uefi](<https://devfeed.tech/tags/uefi.md>)

### AI overview

Rust 1.99.1 is a point release that fixes regressions involving missing `wcslen` symbols, x86_64 FFI `bool` return values, and rust-lld's ability to load libLLVM on macOS. The announcement also suggests testing future releases on the beta and nightly channels.

### Source excerpt

The Rust team has published a new point release of Rust, 1.99.1. Rust is a programming language that is empowering everyone to build reliable and efficient software. If you have a previous version of Rust installed via rustup, getting Rust 1.99.1 is as easy as: rustup update stable If you don't have it already, you can get rustup from the appropriate page on our website. What's in 1.99.1 Rust 1.99.1 fixes the following regressions from prior releases: Missing symbol wcslen: Some Rust targets were getting link errors for missing wcslen, and that function is now present in Rust's compiler-builtins library as a fallback. The LLVM loop-idiom-wcslen pass may introduce calls to wcslen as an optimization, and some Rust targets did not have that function readily available in libc or elsewhere. The UEFI targets in particular were broken for any project using std, as some of these calls were introduced in the precompiled standard library, but the issue was also reproducible for similar user code patterns. Miscompilation of FFI bool return values on x86_64: Rust functions returning bool through FFI could leave bits 1-7 of the return register unspecified, causing callers to observe raw values other than 0 or 1. This return type is now marked for zero-extension again, as required by the ABI. rust-lld failed to load libLLVM on macOS: This linker could fail to run if the compiler was invoked without the rustup proxy, as there was no direct setting for the appropriate library search path. Now rust-lld is built with an rpath entry for the directory containing libLLVM.dylib. If you'd like to help us out by testing future releases, you might consider using the beta (rustup default beta) and nightly (rustup default nightly) channels locally and in your CI. Please report any bugs you might come across! Contributors to 1.99.1 Many people came together to create Rust 1.99.1. We couldn't have done it without all of you. Thanks!

## Bring your KMP library to NuGet

DevFeed: [Bring your KMP library to NuGet](<https://devfeed.tech/articles/bring-your-kmp-library-to-nuget-25915.md>)

Original publisher: [Read original article](<https://proandroiddev.com/bring-your-kmp-library-to-nuget-02e1131a4707?source=rss-43bae76e8f81------2>)

Author: Isuru Rajapakse

Published: 2026-07-19T13:17:14Z

Content type: release

Language: en

Sources: [Isuru Rajapakse](<https://devfeed.tech/sources/stories-by-isuru-rajapakse-on-medium.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [NuGet](<https://devfeed.tech/topics/nuget.md>), [Gradle](<https://devfeed.tech/topics/gradle.md>), [Boilerplate](<https://devfeed.tech/topics/boilerplate.md>), [coroutines-flow](<https://devfeed.tech/topics/coroutines-flow.md>), [Coroutines](<https://devfeed.tech/topics/coroutines.md>)

Tags: [abi](<https://devfeed.tech/tags/abi.md>), [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [androiddev](<https://devfeed.tech/tags/androiddev.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [coroutines](<https://devfeed.tech/tags/coroutines.md>), [coroutines-flow](<https://devfeed.tech/tags/coroutines-flow.md>), [dotnet](<https://devfeed.tech/tags/dotnet.md>), [ffi](<https://devfeed.tech/tags/ffi.md>), [flow](<https://devfeed.tech/tags/flow.md>), [generics](<https://devfeed.tech/tags/generics.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [gradle-plugin](<https://devfeed.tech/tags/gradle-plugin.md>), [kmp](<https://devfeed.tech/tags/kmp.md>), [kotlin-multiplatform](<https://devfeed.tech/tags/kotlin-multiplatform.md>), [kotlin-native](<https://devfeed.tech/tags/kotlin-native.md>), [library](<https://devfeed.tech/tags/library.md>), [net](<https://devfeed.tech/tags/net.md>), [nuget](<https://devfeed.tech/tags/nuget.md>), [nuget-package](<https://devfeed.tech/tags/nuget-package.md>)

### AI overview

kotlin-native-nuget is an experimental Gradle plugin for packaging Kotlin/Native libraries as NuGet packages with generated C# bindings, and for generating Kotlin bindings to selected C# NuGet APIs. For Kotlin-to-C#, it processes the public API at build time, generates an Interop.cs file, compiles target-specific shared libraries, and packages both for .NET; consumers need no extra tooling. The article shows mappings for classes, enums, data classes, collections, generics, nullable values, interfaces, suspend functions, Flow, and cancellation. Runtime calls cross the C ABI through P/Invoke. In the reverse direction, developers select C# namespaces and can use generated Kotlin-idiomatic bindings. The author cautions that the plugin is 0.x and experimental, reverse support is still developing, and some Kotlin constructs are unsupported.

### Source excerpt

with kotlin-native-nuget plugin, you can bring your Kotlin to C# idiomaticallyhttps://medium.com/media/0f185efc67390bbf440bfc33f5675f42/href A little while ago, I gave a talk where I tried to take a library written in Kotlin and hand it to a .NET developer as a NuGet package. By hand. It is 30 minutes of me walking into every brick wall you can imagine - the C ABI, marshalling strings, keeping objects alive across the boundary, making any of it look like C# a human would actually want to use. Introducing kotlin-native-nuget 🪟kotlin-native-nuget plugin auto-binds your kotlin api into C# I turned all of that into a plugin, so you don't have to hit a single one of those walls. You write Kotlin, and out the other side comes a NuGet package with a proper, idiomatic C# API: classes, enums, data classes, coroutines, Flow, generics, interfaces, the works. No FFI boilerplate, no hand-written [DllImport], no "here's a C header, good luck". Your friends over in .NET just `dotnet add package` it and use it like it was C# all along. It's called kotlin-native-nuget, and it's a Gradle plugin. Here's the pitch: GitHub - xxfast/kotlin-native-nuget: A plugin that packages a Kotlin/Native library as a NuGet package with generated C# bindings, and consumes C# NuGet packages from Kotlin The pitch 🛗plugins { kotlin("multiplatform") id("io.github.xxfast.kotlin.native.nuget") version "<version>" } kotlin { mingwX64 { binaries { sharedLib { baseName = "mycatlib" } } } macosArm64 { binaries { sharedLib { baseName = "mycatlib" } } } } nuget { publish { packageId = "MyCatLib" version = "1.0.0" authors = "yourname" description = "My Kotlin/Native library" rootPackage = "com.example.cats" } } That's it. Add the plugin, point it at your native targets, and run the publish task. Out pops a .nupkg. Why though? 🤔 It's a fair question. I got it a lot (even on that talk) Kotlin Multiplatform already reaches an absurd number of places: the JVM, Android, iOS, JS, Wasm, and native desktop. But there's th