Skip to content

Commit 75c5ea2

Browse files
docs: fix broken links (#167)
1 parent dcec48c commit 75c5ea2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

program-analysis/manticore/running-under-manticore.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,13 @@ from manticore.ethereum import ManticoreEVM
8989
m = ManticoreEVM()
9090
```
9191

92-
A non-contract account is created using [m.create_account](https://manticore.readthedocs.io/en/latest/api.html#manticore.ethereum.ManticoreEVM.create_account):
92+
A non-contract account is created using [m.create_account](https://manticore.readthedocs.io/en/latest/evm.html#manticore.ethereum.ManticoreEVM.create_account):
9393

9494
```python3
9595
user_account = m.create_account(balance=1 * 10**18)
9696
```
9797

98-
A Solidity contract can be deployed using [m.solidity_create_contract](https://manticore.readthedocs.io/en/latest/api.html#manticore.ethereum.ManticoreEVM.solidity_create_contract):
98+
A Solidity contract can be deployed using [m.solidity_create_contract](https://manticore.readthedocs.io/en/latest/evm.html#manticore.ethereum.ManticoreEVM.solidity_create_contract):
9999

100100
```python3
101101
source_code = '''
@@ -114,7 +114,7 @@ contract_account = m.solidity_create_contract(source_code, owner=user_account)
114114

115115
#### Summary
116116

117-
- You can create user and contract accounts with [m.create_account](https://manticore.readthedocs.io/en/latest/api.html#manticore.ethereum.ManticoreEVM.create_account) and [m.solidity_create_contract](https://manticore.readthedocs.io/en/latest/api.html#manticore.ethereum.ManticoreEVM.solidity_create_contract.
117+
- You can create user and contract accounts with [m.create_account](https://manticore.readthedocs.io/en/latest/evm.html#manticore.ethereum.ManticoreEVM.create_account) and [m.solidity_create_contract](https://manticore.readthedocs.io/en/latest/evm.html#manticore.ethereum.ManticoreEVM.solidity_create_contract).
118118

119119
### Executing transactions
120120

@@ -125,7 +125,7 @@ Manticore supports two types of transaction:
125125

126126
#### Raw transaction
127127

128-
A raw transaction is executed using [m.transaction](https://manticore.readthedocs.io/en/latest/api.html#manticore.ethereum.ManticoreEVM.transaction):
128+
A raw transaction is executed using [m.transaction](https://manticore.readthedocs.io/en/latest/evm.html#manticore.ethereum.ManticoreEVM.transaction):
129129

130130
```python3
131131
m.transaction(caller=user_account,
@@ -136,8 +136,8 @@ m.transaction(caller=user_account,
136136

137137
The caller, the address, the data, or the value of the transaction can be either concrete or symbolic:
138138

139-
- [m.make_symbolic_value](https://manticore.readthedocs.io/en/latest/api.html#manticore.ethereum.ManticoreEVM.make_symbolic_value) creates a symbolic value.
140-
- [m.make_symbolic_buffer(size)](https://manticore.readthedocs.io/en/latest/api.html#manticore.ethereum.ManticoreEVM.make_symbolic_buffer) creates a symbolic byte array.
139+
- [m.make_symbolic_value](https://manticore.readthedocs.io/en/latest/evm.html#manticore.ethereum.ManticoreEVM.make_symbolic_value) creates a symbolic value.
140+
- [m.make_symbolic_buffer(size)](https://manticore.readthedocs.io/en/latest/evm.html#manticore.ethereum.ManticoreEVM.make_symbolic_buffer) creates a symbolic byte array.
141141

142142
For example:
143143

@@ -181,7 +181,7 @@ print("Results are in {}".format(m.workspace))
181181

182182
### Terminate the Exploration
183183

184-
To stop the exploration use [m.finalize()](https://manticore.readthedocs.io/en/latest/api.html#manticore.ethereum.ManticoreEVM.finalize). No further transactions should be sent once this method is called and Manticore generates test cases for each of the path explored.
184+
To stop the exploration use [m.finalize()](https://manticore.readthedocs.io/en/latest/evm.html#manticore.ethereum.ManticoreEVM.finalize). No further transactions should be sent once this method is called and Manticore generates test cases for each of the path explored.
185185

186186
## Summary: Running under Manticore
187187

0 commit comments

Comments
 (0)