Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Maciej Dudek <[email protected]>
  • Loading branch information
mtdudek committed Oct 13, 2023
1 parent ce9f36a commit f8dd81f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/source/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,10 @@ Different attack and row selection modes can be used, but only one of them can b
- `--hammer-only`
Only hammers a pair of rows, without doing any error checks or reports.
If command is combined with `--payload-executor`, then any number of rows can be provided.
Only hammers rows, without doing any error checks or reports.
When run with `rowhammer.py` the attack is limited to one row pair.
`hw_rowhammer.py` can attack up to 32 rows.
With `--payload-executor` enabled the row limit is dictated by the payload memory size.
For example following command will hammer rows 4 and 6 1000 times total (so 500 times each):
Expand Down
1 change: 1 addition & 0 deletions rowhammer_tester/scripts/hw_rowhammer.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
class HwRowHammer(RowHammer):

def attack(self, row_tuple, read_count, progress_header=''):
assert len(row_tuple) <= 32
addresses = [
self.converter.encode_dma(bank=self.bank, col=self.column, row=r) for r in row_tuple
]
Expand Down

0 comments on commit f8dd81f

Please sign in to comment.