Skip to content

Commit

Permalink
Deploying to gh-pages from @ bc76001 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
msooseth committed Dec 2, 2024
1 parent 2111753 commit a73a415
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 40 deletions.
4 changes: 1 addition & 3 deletions exec.html
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,7 @@ <h1 id="hevm-exec"><a class="header" href="#hevm-exec"><code>hevm exec</code></a
--rpc TEXT Fetch state from a remote node
--block W256 Block state is be fetched from
--root STRING Path to project root directory (default: . )
--project-type PROJECTTYPE
Is this a Foundry or DappTools project (default:
Foundry)
--project-type PROJECTTYPE Foundry or CombinedJSON project
</code></pre>
<p>Minimum required flags: either you must provide <code>--code</code> or you must both pass
<code>--rpc</code> and <code>--address</code>.</p>
Expand Down
8 changes: 4 additions & 4 deletions getting-started.html
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,9 @@ <h2 id="practical-scenario"><a class="header" href="#practical-scenario">Practic
<p>Let's say we have a function that allows transfer of money, but no balance can
be larger than or equal to 100. Let's see the contract and its associated check:</p>
<pre><code class="language-solidity">pragma solidity ^0.8.19;
import "ds-test/test.sol";
import "foge-std/Test.sol";

contract MyContract is DSTest {
contract MyContract is Test {
mapping (address =&gt; uint) balances;
function prove_add_value(address recv, uint amt) public {
require(balances[recv] &lt; 100);
Expand Down Expand Up @@ -235,9 +235,9 @@ <h3 id="building"><a class="header" href="#building">Building</a></h3>
$ forge init .
$ cat &lt;&lt;EOF &gt; src/contract.sol
pragma solidity ^0.8.19;
import "ds-test/test.sol";
import "forge-std/Test.sol";

contract MyContract is DSTest {
contract MyContract is Test {
mapping (address =&gt; uint) balances;
function prove_add_value(address recv, uint amt) public {
require(balances[recv] &lt; 100);
Expand Down
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,9 @@ <h2 id="practical-scenario"><a class="header" href="#practical-scenario">Practic
<p>Let's say we have a function that allows transfer of money, but no balance can
be larger than or equal to 100. Let's see the contract and its associated check:</p>
<pre><code class="language-solidity">pragma solidity ^0.8.19;
import "ds-test/test.sol";
import "foge-std/Test.sol";

contract MyContract is DSTest {
contract MyContract is Test {
mapping (address =&gt; uint) balances;
function prove_add_value(address recv, uint amt) public {
require(balances[recv] &lt; 100);
Expand Down Expand Up @@ -235,9 +235,9 @@ <h3 id="building"><a class="header" href="#building">Building</a></h3>
$ forge init .
$ cat &lt;&lt;EOF &gt; src/contract.sol
pragma solidity ^0.8.19;
import "ds-test/test.sol";
import "forge-std/Test.sol";

contract MyContract is DSTest {
contract MyContract is Test {
mapping (address =&gt; uint) balances;
function prove_add_value(address recv, uint amt) public {
require(balances[recv] &lt; 100);
Expand Down
28 changes: 11 additions & 17 deletions print.html
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,9 @@ <h2 id="practical-scenario"><a class="header" href="#practical-scenario">Practic
<p>Let's say we have a function that allows transfer of money, but no balance can
be larger than or equal to 100. Let's see the contract and its associated check:</p>
<pre><code class="language-solidity">pragma solidity ^0.8.19;
import "ds-test/test.sol";
import "foge-std/Test.sol";

contract MyContract is DSTest {
contract MyContract is Test {
mapping (address =&gt; uint) balances;
function prove_add_value(address recv, uint amt) public {
require(balances[recv] &lt; 100);
Expand Down Expand Up @@ -233,9 +233,9 @@ <h3 id="building"><a class="header" href="#building">Building</a></h3>
$ forge init .
$ cat &lt;&lt;EOF &gt; src/contract.sol
pragma solidity ^0.8.19;
import "ds-test/test.sol";
import "forge-std/Test.sol";

contract MyContract is DSTest {
contract MyContract is Test {
mapping (address =&gt; uint) balances;
function prove_add_value(address recv, uint amt) public {
require(balances[recv] &lt; 100);
Expand Down Expand Up @@ -363,9 +363,9 @@ <h2 id="fuzzing-versus-symbolic-execution"><a class="header" href="#fuzzing-vers
bytecode, postconditions need to be explicit. Let's see an example:</p>
<pre><code class="language-solidity">// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;
import "ds-test/test.sol";
import "forge-std/Test.sol";

contract MyContract is DSTest {
contract MyContract is Test {
uint balance;
function test_overflow(uint amt) public {
unchecked {
Expand All @@ -383,9 +383,9 @@ <h2 id="fuzzing-versus-symbolic-execution"><a class="header" href="#fuzzing-vers
towards them. Let's see a simple one:</p>
<pre><code class="language-solidity">// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;
import "ds-test/test.sol";
import "foge-std/Test.sol";

contract MyContract is DSTest {
contract MyContract is Test {
uint balance;
function prove_multiply(uint amt, uint amt2) public {
require(amt != 1);
Expand Down Expand Up @@ -1160,9 +1160,7 @@ <h2 id="using-forge-to-build-your-project-for-symbolic-execution"><a class="head
Available options:
-h,--help Show this help text
--root STRING Path to project root directory (default: . )
--project-type PROJECTTYPE
Is this a Foundry or DappTools project (default:
Foundry)
--project-type PROJECTTYPE Foundry or CombinedJSON project
--rpc TEXT Fetch state from a remote node
--number W256 Block: number
--verbose INT Append call trace: {1} failures {2} all
Expand Down Expand Up @@ -1251,9 +1249,7 @@ <h2 id="using-forge-to-build-your-project-for-symbolic-execution"><a class="head
--rpc TEXT Fetch state from a remote node
--block W256 Block state is be fetched from
--root STRING Path to project root directory (default: . )
--project-type PROJECTTYPE
Is this a Foundry or DappTools project (default:
Foundry)
--project-type PROJECTTYPE Foundry or CombinedJSON project
--initial-storage INITIALSTORAGE
Starting state for storage: Empty, Abstract (default
Abstract)
Expand Down Expand Up @@ -1429,9 +1425,7 @@ <h2 id="using-forge-to-build-your-project-for-symbolic-execution"><a class="head
--rpc TEXT Fetch state from a remote node
--block W256 Block state is be fetched from
--root STRING Path to project root directory (default: . )
--project-type PROJECTTYPE
Is this a Foundry or DappTools project (default:
Foundry)
--project-type PROJECTTYPE Foundry or CombinedJSON project
</code></pre>
<p>Minimum required flags: either you must provide <code>--code</code> or you must both pass
<code>--rpc</code> and <code>--address</code>.</p>
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.json

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions symbolic.html
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,7 @@ <h1 id="hevm-symbolic"><a class="header" href="#hevm-symbolic"><code>hevm symbol
--rpc TEXT Fetch state from a remote node
--block W256 Block state is be fetched from
--root STRING Path to project root directory (default: . )
--project-type PROJECTTYPE
Is this a Foundry or DappTools project (default:
Foundry)
--project-type PROJECTTYPE Foundry or CombinedJSON project
--initial-storage INITIALSTORAGE
Starting state for storage: Empty, Abstract (default
Abstract)
Expand Down
4 changes: 1 addition & 3 deletions test.html
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,7 @@ <h1 id="hevm-test"><a class="header" href="#hevm-test"><code>hevm test</code></a
Available options:
-h,--help Show this help text
--root STRING Path to project root directory (default: . )
--project-type PROJECTTYPE
Is this a Foundry or DappTools project (default:
Foundry)
--project-type PROJECTTYPE Foundry or CombinedJSON project
--rpc TEXT Fetch state from a remote node
--number W256 Block: number
--verbose INT Append call trace: {1} failures {2} all
Expand Down
8 changes: 4 additions & 4 deletions when-to-use.html
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,9 @@ <h2 id="fuzzing-versus-symbolic-execution"><a class="header" href="#fuzzing-vers
bytecode, postconditions need to be explicit. Let's see an example:</p>
<pre><code class="language-solidity">// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;
import "ds-test/test.sol";
import "forge-std/Test.sol";

contract MyContract is DSTest {
contract MyContract is Test {
uint balance;
function test_overflow(uint amt) public {
unchecked {
Expand All @@ -223,9 +223,9 @@ <h2 id="fuzzing-versus-symbolic-execution"><a class="header" href="#fuzzing-vers
towards them. Let's see a simple one:</p>
<pre><code class="language-solidity">// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;
import "ds-test/test.sol";
import "foge-std/Test.sol";

contract MyContract is DSTest {
contract MyContract is Test {
uint balance;
function prove_multiply(uint amt, uint amt2) public {
require(amt != 1);
Expand Down

0 comments on commit a73a415

Please sign in to comment.