# lang/picoc - The NetBSD Packages Collection

C interpreter

    PicoC is a very small C interpreter for scripting.  It was originally
    written as the script language for a UAV's on-board flight system.
    It's also very suitable for other robotic, embedded and non-embedded
    applications.

    The core C source code is around 4000 lines of code.  It's not
    intended to be a complete implementation of ISO C but it has all the
    essentials.  When compiled it only takes a few k of code space and is
    also very sparing of data space.  This means it can work well in small
    embedded devices.  It's also a fun example of how to create a very
    small language implementation while still keeping the code readable.

    picoc has been tested on x86-32, x86-64, powerpc, arm, ultrasparc,
    HP-PA and blackfin processors and is easy to port to new targets.

- Source version: `picoc-2.1nb1`
- Maintainer: agc AT NetBSD.org
- Website: https://github.com/zsaleeba/picoc
- License: modified-bsd
- Package history: cvs, hg, git

## Build dependencies

pkgtools/mktools pkgtools/cwrappers

## Runtime dependencies

(none)

## Binary packages

OS | Architecture | Version
--- | --- | ---
NetBSD 10.0 | aarch64 | picoc-2.1nb1.tgz
NetBSD 10.0 | aarch64 | picoc-2.1nb1.tgz
NetBSD 10.0 | aarch64eb | picoc-2.1nb1.tgz
NetBSD 10.0 | alpha | picoc-2.1nb1.tgz
NetBSD 10.0 | earmv4 | picoc-2.1nb1.tgz
NetBSD 10.0 | earmv4 | picoc-2.1nb1.tgz
NetBSD 10.0 | earmv6hf | picoc-2.1nb1.tgz
NetBSD 10.0 | earmv6hf | picoc-2.1nb1.tgz
NetBSD 10.0 | earmv7hf | picoc-2.1nb1.tgz
NetBSD 10.0 | earmv7hf | picoc-2.1nb1.tgz
NetBSD 10.0 | i386 | picoc-2.1nb1.tgz
NetBSD 10.0 | i386 | picoc-2.1nb1.tgz
NetBSD 10.0 | m68k | picoc-2.1nb1.tgz
NetBSD 10.0 | m68k | picoc-2.1nb1.tgz
NetBSD 10.0 | powerpc | picoc-2.1nb1.tgz
NetBSD 10.0 | powerpc | picoc-2.1nb1.tgz
NetBSD 10.0 | powerpc | picoc-2.1nb1.tgz
NetBSD 10.0 | sh3el | picoc-2.1nb1.tgz
NetBSD 10.0 | sparc64 | picoc-2.1nb1.tgz
NetBSD 10.0 | sparc64 | picoc-2.1nb1.tgz
NetBSD 10.0 | sparc64 | picoc-2.1nb1.tgz
NetBSD 10.0 | vax | picoc-2.1nb1.tgz
NetBSD 10.0 | x86_64 | picoc-2.1nb1.tgz
NetBSD 10.0 | x86_64 | picoc-2.1nb1.tgz
NetBSD 11.0 | aarch64 | picoc-2.1nb1.tgz
NetBSD 11.0 | aarch64 | picoc-2.1nb1.tgz
NetBSD 11.0 | aarch64eb | picoc-2.1nb1.tgz
NetBSD 11.0 | aarch64eb | picoc-2.1nb1.tgz
NetBSD 11.0 | earmv4 | picoc-2.1nb1.tgz
NetBSD 11.0 | earmv6hf | picoc-2.1nb1.tgz
NetBSD 11.0 | earmv6hf | picoc-2.1nb1.tgz
NetBSD 11.0 | earmv7hf | picoc-2.1nb1.tgz
NetBSD 11.0 | earmv7hf | picoc-2.1nb1.tgz
NetBSD 11.0 | i386 | picoc-2.1nb1.tgz
NetBSD 11.0 | i386 | picoc-2.1nb1.tgz
NetBSD 11.0 | m68k | picoc-2.1nb1.tgz
NetBSD 11.0 | m68k | picoc-2.1nb1.tgz
NetBSD 11.0 | riscv64 | picoc-2.1nb1.tgz
NetBSD 11.0 | riscv64 | picoc-2.1nb1.tgz
NetBSD 11.0 | riscv64 | picoc-2.1nb1.tgz
NetBSD 11.0 | sh3el | picoc-2.1nb1.tgz
NetBSD 11.0 | sh3el | picoc-2.1nb1.tgz
NetBSD 11.0 | vax | picoc-2.1nb1.tgz
NetBSD 11.0 | vax | picoc-2.1nb1.tgz
NetBSD 11.0 | x86_64 | picoc-2.1nb1.tgz
NetBSD 11.0 | x86_64 | picoc-2.1nb1.tgz
NetBSD 9.0 | aarch64 | picoc-2.1nb1.tgz
NetBSD 9.0 | aarch64 | picoc-2.1nb1.tgz
NetBSD 9.0 | earmv6hf | picoc-2.1nb1.tgz
NetBSD 9.0 | earmv6hf | picoc-2.1nb1.tgz
NetBSD 9.0 | earmv7hf | picoc-2.1nb1.tgz
NetBSD 9.0 | earmv7hf | picoc-2.1nb1.tgz
NetBSD 9.0 | i386 | picoc-2.1nb1.tgz
NetBSD 9.0 | i386 | picoc-2.1nb1.tgz
NetBSD 9.0 | powerpc | picoc-2.1nb1.tgz
NetBSD 9.0 | x86_64 | picoc-2.1nb1.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

(none)

## Known vulnerabilities

- a open heap-overflow vulnerability
- a open null-pointer-dereference vulnerability
- a open heap-buffer-overflow vulnerability
- a open heap-buffer-overflow vulnerability
- a open heap-buffer-overflow vulnerability
- a open heap-buffer-overflow vulnerability
- a open heap-buffer-overflow vulnerability
- a open heap-buffer-overflow vulnerability
- a open heap-buffer-overflow vulnerability
- a open heap-buffer-overflow vulnerability
- a open heap-buffer-overflow vulnerability
- a open heap-buffer-overflow vulnerability

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.