devel/stringswitch - The NetBSD Packages Collection

Use strings in C switch statements

This is stringswitch, which calculates numeric values for strings.
Using these numeric values, strings can be used as part of switch
statements. Dispatcher functions can then be used to process
strings in an efficient manner. In normal use, compilers will
flag any hash collisions at compile-time, which removes a large
class of bugs.

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

(none)

Binary packages

OSArchitectureVersion
(none)

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

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.