FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

We also have a status page: https://freshports.wordpress.com/

Port details
csmith Generates random C programs that conform to the C99 standard
2.3.0 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: mmokhi@FreeBSD.org search for ports maintained by this maintainer
Port Added: 25 Oct 2011 20:55:44
License: BSD2CLAUSE
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.

WWW: http://embed.cs.utah.edu/csmith/
SVNWeb : Homepage : PortsMon
    Pseudo-pkg-plist information, but much better, from make generate-plist
    Expand this list (33 items)
  1. /usr/local/share/licenses/csmith-2.3.0/catalog.mk
  2. /usr/local/share/licenses/csmith-2.3.0/LICENSE
  3. /usr/local/share/licenses/csmith-2.3.0/BSD2CLAUSE
  4. bin/compiler_test.in
  5. bin/compiler_test.pl
  6. bin/csmith
  7. bin/launchn.pl
  8. include/csmith-2.3.0/csmith.h
  9. include/csmith-2.3.0/csmith_minimal.h
  10. include/csmith-2.3.0/custom_limits.h
  11. include/csmith-2.3.0/custom_stdint_x86.h
  12. include/csmith-2.3.0/platform_avr.h
  13. include/csmith-2.3.0/platform_generic.h
  14. include/csmith-2.3.0/platform_msp430.h
  15. include/csmith-2.3.0/random_inc.h
  16. include/csmith-2.3.0/safe_abbrev.h
  17. include/csmith-2.3.0/safe_math.h
  18. include/csmith-2.3.0/safe_math_macros.h
  19. include/csmith-2.3.0/safe_math_macros_notmp.h
  20. include/csmith-2.3.0/stdint_avr.h
  21. include/csmith-2.3.0/stdint_ia32.h
  22. include/csmith-2.3.0/stdint_ia64.h
  23. include/csmith-2.3.0/stdint_msp430.h
  24. include/csmith-2.3.0/volatile_runtime.c
  25. include/csmith-2.3.0/volatile_runtime.h
  26. include/csmith-2.3.0/windows/stdint.h
  27. lib/libcsmith.a
  28. lib/libcsmith.so
  29. lib/libcsmith.so.0
  30. lib/libcsmith.so.0.0.0
  31. share/doc/csmith/probabilities.txt
  32. @postexec /sbin/ldconfig -m /usr/local/lib
  33. @postunexec /sbin/ldconfig -R
  34. Collapse this list.

To install the port: cd /usr/ports/devel/csmith/ && make install clean
To add the package: pkg install csmith

PKGNAME: csmith

ONLY_FOR_ARCHS: i386 amd64

distinfo:

TIMESTAMP = 1498294369
SHA256 (csmith-2.3.0.tar.gz) = f247cc0aede5f8a0746271b40a5092b5b5a2d034e5e8f7a836c879dde3fb65d5
SIZE (csmith-2.3.0.tar.gz) = 637381


NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. gmake : devel/gmake
Runtime dependencies:
  1. perl5>=5.24<5.25 : lang/perl5.24
There are no ports dependent upon this port

Configuration Options
===> The following configuration options are available for csmith-2.3.0:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings

USES:
gmake libtool perl5 shebangfix

Master Sites:
  1. http://embed.cs.utah.edu/csmith/

Number of commits found: 22

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
02 Jul 2017 12:36:06
Original commit files touched by this commit  2.3.0
Revision:444881
mmokhi search for other commits by this committer
devel/csmith: Update csmith to 2.3.0
This new version contains many changes including:
. Added a CMake-based build system (as well as Autoconf-based system).
. Improved ability to generate C++-compatible code:
    First, the command-line option --lang-cpp now sets other
    options automatically (--match-exact-qualifiers,
    --no-vol-struct-union-fields, and
    --no-const-struct-union-fields).
    Second, the new command-line option --cpp11 tells Csmith to generate
    C++11-compatible code. The default is to generate C++03-compatible code.

. Added command-line options:
    --global-variables / --no-global-variables: allow or disallow global
        variables (allowed by default)
    --const-struct-union-fields / --no-const-struct-union-fields: allow or
(Only the first 15 lines of the commit message are shown above View all of this commit message)
11 Feb 2017 04:44:44
Original commit files touched by this commit  2.2.0
Revision:433834
mmokhi search for other commits by this committer
Updating the ports I maintain to my FreeBSD.org address.

Submitted by:	mmokhi
Reviewed by:	feld, mat
Approved by:	feld, mat (mentors)
Differential Revision:	https://reviews.freebsd.org/D9498
26 Dec 2016 19:00:40
Original commit files touched by this commit  2.2.0
Revision:429567
sunpoet search for other commits by this committer
- Pass maintainership to submitter

PR:		215586
Submitted by:	Mahdi Mokhtari <mokhi64@gmail.com>
26 Dec 2016 11:59:12
Original commit files touched by this commit  2.2.0
Revision:429499
rene search for other commits by this committer
Reset ports per maintainer request.

PR:		215557
Submitted by:	A.J. "Fonz" van Werven (maintainer)
04 Jan 2015 20:51:51
Original commit files touched by this commit  2.2.0
Revision:376271
pawel search for other commits by this committer
- Update to version 2.2.0
- Add new maintainer's mirror to MASTER_SITES
- Submitter is new maintainer
- Add PKGNAME to PLIST_SUB and use it to parameterize include directory

PR:		196424
Submitted by:	 A.J. "Fonz" van Werven <freebsd@skysmurf.nl>
22 Dec 2014 21:23:31
Original commit files touched by this commit  2.1.0_2
Revision:375270
antoine search for other commits by this committer
- Add missing run dependency on perl
- Shebangfix
27 Oct 2014 10:10:59
Original commit files touched by this commit  2.1.0_1
Revision:371544
bapt search for other commits by this committer
Cleanup plist
24 Sep 2014 06:00:10
Original commit files touched by this commit  2.1.0_1
Revision:369161
eadler search for other commits by this committer
Hand back my ports to the pool.

Ports require time and TLC which I no longer have.
29 Aug 2014 21:48:10
Original commit files touched by this commit  2.1.0_1
Revision:366574
tijl search for other commits by this committer
Add USES=libtool and INSTALL_TARGET=install-strip
15 Jul 2014 23:11:13
Original commit files touched by this commit  2.1.0
Revision:362014
adamw search for other commits by this committer
Add OPTIONS_DEFINE=DOCS for ports with %%PORTDOCS%% in the plist.

Where possible, correct a few instances where PORTDOCS was being used
to flag stuff in EXAMPLESDIR. For some ports, mostly those owned by
ruby@, PORTDOCS is applied to pretty much everything whether it's
documentation or example.
11 Dec 2013 23:44:27
Original commit files touched by this commit  2.1.0
Revision:336237
eadler search for other commits by this committer
creduce/Makefile csmith/Makefile symports/Makefile: use BSD*CLAUSE

The LICENSE 'BSD' was not specific enough.  Now, use the new versioned licenses.
29 Sep 2013 03:05:51
Original commit files touched by this commit  2.1.0
Revision:328642
eadler search for other commits by this committer
- Convert to staging
20 Sep 2013 17:03:27
Refresh Original commit files touched by this commit
Revision:327722  Sanity Test Failure
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 1)
16 Jul 2013 21:59:48
Original commit files touched by this commit  2.1.0
Revision:323129
eadler search for other commits by this committer
Remove now excess verbiage.

Reviewed by:	bapt
06 Jul 2013 17:27:41
Original commit files touched by this commit  2.1.0
Revision:322403
eadler search for other commits by this committer
Convert some of my ports from USE_GMAKE to USES=gmake.
The remainder have other pending patches which I must finish before conversion.
23 Apr 2013 01:44:41
Original commit files touched by this commit  2.1.0
Revision:316295
eadler search for other commits by this committer
Simplify port logic
08 Mar 2013 20:23:39
Original commit files touched by this commit  2.1.0
Revision:313672
eadler search for other commits by this committer
Clean up my ports (and a couple of ports@ owned ones):

- Fix COMMENT
- Add MAKE_JOBS_SAFE where appropriate
- Change ordering of LICENSE lines
- Fix new header format
- Etc.

Reviewed by:	drogoh (on irc)
06 Oct 2012 14:35:46
Original commit files touched by this commit  2.1.0
Revision:305369
eadler search for other commits by this committer
Trim the headers in the ports I maintain.
08 Sep 2012 12:12:06
Original commit files touched by this commit  2.1.0
Revision:303898
eadler search for other commits by this committer
This will never work on a non-intel cpu
08 Sep 2012 06:53:18
Original commit files touched by this commit  2.1.0
Revision:303870
linimon search for other commits by this committer
Mark as broken on sparc64.

Hat:		portmgr
23 Nov 2011 05:33:30
Original commit files touched by this commit  2.1.0
eadler search for other commits by this committer
- update to 2.1
- remove build patches

New features in this release:

- By default, functions and global variables are marked as "static" permitting
compilers to optimize more aggressivELY IN SOme cases.
- We now try harder to get auto-vectorizers and other loop optimizers in trouble
by generating code that is more idiomatic and therefore more likely to be
optimized. In particular, array indices are in-bounds by construction instead of
by using % operators.
- Unions are supported.
- The comma operator is supported, as in x = (y, 1, z, 3).
- Embedded assignments are supported, as in x = 1 + (y = z).
- The pre/post increment/decrement operators are supported.
- A --no-safe-math mode was added, which avoids calling the safe math wrappers.
This is useful when trying to crash compilers but the resulting executables
should not be run since they are very likely to have undefined behavior.

Feature safe:   yes
25 Oct 2011 20:54:51
Original commit files touched by this commit  2.0.0
eadler search for other commits by this committer
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.

WWW: http://embed.cs.utah.edu/csmith/

Approved by:    bapt (mentor)

Number of commits found: 22

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
opensslNov 02
openssl-develNov 02
wordpressNov 01
php56Oct 30
php70Oct 30
php71Oct 30
wiresharkOct 30
chromiumOct 28
wgetOct 27
wgetOct 27
openoffice-4*Oct 26
openoffice-devel*Oct 26
gitlabOct 25
nodeOct 25
node4Oct 25

1 vulnerabilities affecting 7 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 31868
Broken 126
Deprecated 55
Ignore 364
Forbidden 0
Restricted 175
No CDROM 78
Vulnerable 51
Expired 11
Set to expire 47
Interactive 0
new 24 hours 5
new 48 hours3186
new 7 days3221
new fortnight3396
new month3448

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2017 Dan Langille. All rights reserved.