Skip to content
forked from hyc/randprog

Randomly generate a C (or javascript) program

License

Notifications You must be signed in to change notification settings

ccrashes/randprog

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

-*- mode: Text -*-

                 randprog --- a random generator of C programs

                           Eric Eide and John Regehr
                          {eeide,regehr}@cs.utah.edu

                    University of Utah School of Computing
                            http://www.cs.utah.edu/


Please send bug reports and fixes to Eric Eide and John Regehr.

This program is based on an earlier random program generator written by Bryan
Turner <[email protected]>.

The default seed is hardcoded. Provide a new seed as the only argument on the
command line. The seed is expected to be a hexadecimal string. A suitable string
can be retrieved using:

WALLET_ADDRESS="a valid Monero wallet address"
curl -X POST http://node.moneroworld.com:18089/json_rpc -d '{"method": "getblocktemplate", "params": {"reserve_size": 8, "wallet_address": "'$WALLET_ADDRESS'"}}'

Use the blockhashing_blob as the hexadecimal string for the seed.

About

Randomly generate a C (or javascript) program

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 53.1%
  • C++ 46.6%
  • Makefile 0.3%