devel/libffi - The NetBSD Packages Collection

Foreign function interface

The libffi library provides a portable, high level programming
interface to various calling conventions.  This allows a programmer to
call any function specified by a call interface description at

Some programs may not know at the time of compilation what arguments
are to be passed to a function.  For instance, an interpreter may be
told at run-time about the number and types of arguments used to call
a given function.  Libffi can be used in such programs to provide a
bridge from the interpreter program to compiled code.

Ffi stands for Foreign Function Interface.  A foreign function
interface is the popular name for the interface that allows code
written in one language to call code written in another language.  The
libffi library really only provides the lowest, machine dependent
layer of a fully featured foreign function interface.  A layer must
exist above libffi that handles type conversions for values passed
between the two languages.

Build dependencies

devel/libtool-base pkgtools/mktools devel/gmake devel/pkgconf pkgtools/cwrappers

Runtime dependencies


Binary packages

NetBSD 10.0aarch64libffi-3.4.6.tgz
NetBSD 10.0aarch64libffi-3.4.4.tgz
NetBSD 10.0aarch64eblibffi-3.4.6.tgz
NetBSD 10.0alphalibffi-3.4.4.tgz
NetBSD 10.0alphalibffi-3.4.6.tgz
NetBSD 10.0earmv4libffi-3.4.4.tgz
NetBSD 10.0earmv4libffi-3.4.6.tgz
NetBSD 10.0earmv6hflibffi-3.4.6.tgz
NetBSD 10.0earmv6hflibffi-3.4.4.tgz
NetBSD 10.0earmv7hflibffi-3.4.6.tgz
NetBSD 10.0earmv7hflibffi-3.4.4.tgz
NetBSD 10.0i386libffi-3.4.6.tgz
NetBSD 10.0i386libffi-3.4.4.tgz
NetBSD 10.0m68klibffi-3.4.4.tgz
NetBSD 10.0m68klibffi-3.4.6.tgz
NetBSD 10.0mips64eblibffi-3.4.4.tgz
NetBSD 10.0mips64eblibffi-3.4.6.tgz
NetBSD 10.0powerpclibffi-3.4.4.tgz
NetBSD 10.0powerpclibffi-3.4.4.tgz
NetBSD 10.0sh3ellibffi-3.4.4.tgz
NetBSD 10.0sh3ellibffi-3.4.6.tgz
NetBSD 10.0sparc64libffi-3.4.6.tgz
NetBSD 10.0sparclibffi-3.4.4.tgz
NetBSD 10.0sparclibffi-3.4.6.tgz
NetBSD 10.0vaxlibffi-3.4.4.tgz
NetBSD 10.0vaxlibffi-3.4.6.tgz
NetBSD 10.0x86_64libffi-3.4.6.tgz
NetBSD 10.0x86_64libffi-3.4.4.tgz
NetBSD 9.0aarch64libffi-3.4.6.tgz
NetBSD 9.0aarch64libffi-3.4.4.tgz
NetBSD 9.0alphalibffi-3.4.4.tgz
NetBSD 9.0alphalibffi-3.4.6.tgz
NetBSD 9.0earmlibffi-3.4.4.tgz
NetBSD 9.0earmv4libffi-3.4.4.tgz
NetBSD 9.0earmv4libffi-3.4.6.tgz
NetBSD 9.0earmv6hflibffi-3.4.6.tgz
NetBSD 9.0earmv6hflibffi-3.4.4.tgz
NetBSD 9.0earmv7hflibffi-3.4.6.tgz
NetBSD 9.0earmv7hflibffi-3.4.4.tgz
NetBSD 9.0i386libffi-3.4.6.tgz
NetBSD 9.0i386libffi-3.4.4.tgz
NetBSD 9.0m68klibffi-3.4.4.tgz
NetBSD 9.0m68klibffi-3.4.6.tgz
NetBSD 9.0mips64eblibffi-3.4.4.tgz
NetBSD 9.0mipsellibffi-3.4.4.tgz
NetBSD 9.0powerpclibffi-3.4.4.tgz
NetBSD 9.0powerpclibffi-3.4.4.tgz
NetBSD 9.0powerpclibffi-3.4.6.tgz
NetBSD 9.0sh3ellibffi-3.4.4.tgz
NetBSD 9.0sparc64libffi-3.4.4.tgz
NetBSD 9.0sparc64libffi-3.4.6.tgz
NetBSD 9.0sparclibffi-3.4.4.tgz
NetBSD 9.0vaxlibffi-3.4.4.tgz
NetBSD 9.0vaxlibffi-3.4.4.tgz
NetBSD 9.0x86_64libffi-3.4.6.tgz
NetBSD 9.0x86_64libffi-3.4.4.tgz
NetBSD 9.3x86_64libffi-3.4.6.tgz
NetBSD 9.3x86_64libffi-3.4.6.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options


Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.