devel/csmith 2.3.0.127 FreeBSD
Generates random C programs that conform to the C99 standard
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
b4850e1583- License
- BSD2CLAUSE
- Categories
- devel
- Package size
- 281.2 KiB, 929.8 KiB installed
Description
Csmith is a tool that can generate random C programs that statically and dynamically conform to the C99 standard. Thus, it is useful for stress-testing compilers, static analyzers, and other tools that process C code. Csmith has found bugs in every tool that it has tested, and over the last several years we have used it to find and report more than 350 previously-unknown compiler bugs.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/csmith | 2.3.0.127 |
| OpenBSD | devel/csmith | 2.4.0p0 |
| NetBSD | lang/csmith | 2.3.0nb1 |
| DragonFly | devel/csmith | 2.3.0 |
Install
Binary package:
pkg install csmith
From the ports tree:
cd /usr/ports/devel/csmith/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= csmith>0:devel/csmith
LIB_DEPENDS= libcsmith.so:devel/csmith
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.3.0.127 | 2.3.0.127 | 2.3.0 | 2.3.0.79 | 2.3.0.127 |
| FreeBSD:14:quarterly | 2.3.0.127 | 2.3.0.127 | n/a | 2.3.0.79 | 2.3.0.127 |
| FreeBSD:15:latest | 2.3.0.127 | 2.3.0.127 | n/a | 2.3.0.79 | 2.3.0.79 |
| FreeBSD:15:quarterly | 2.3.0.127 | 2.3.0.127 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.3.0.127 | 2.3.0.127 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 15
Run dependencies 1
No port depends on this one.
Configuration
Options name: devel_csmith
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
- USES
- cmake localbase perl5 shebangfix
- Service scripts
- none
Files
pkg-plist 28
- bin/compiler_test.in
- bin/compiler_test.pl
- bin/csmith
- bin/launchn.pl
- include/csmith.h
- include/csmith_minimal.h
- include/custom_limits.h
- include/custom_stdint_x86.h
- include/platform_avr.h
- include/platform_generic.h
- include/platform_msp430.h
- include/random_inc.h
- include/safe_abbrev.h
- include/safe_math.h
- include/safe_math_macros.h
- include/safe_math_macros_notmp.h
- include/stdint_avr.h
- include/stdint_ia32.h
- include/stdint_ia64.h
- include/stdint_msp430.h
- include/volatile_runtime.c
- include/volatile_runtime.h
- include/windows/stdint.h
- lib/libcsmith.a
- lib/libcsmith.so
- lib/libcsmith.so.0
- lib/libcsmith.so.0.0.0
- share/doc/csmith/probabilities.txt
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| csmith-project-csmith-csmith-2.3.0-127-g0cdc710_GH0.tar.gz | 330742 | bcce0284fa8efa6f1d820523085a54f750169af15198c705b72839f9ae9a4230 |