Exemple #1
0
def test_cycle_find_not_found():
    assert pwny.cycle_find('\x00', width=1) == -1
Exemple #2
0
def test_cycle_find_start():
    assert pwny.cycle_find('AAAA') == 0
Exemple #3
0
def test_cycle_find():
    assert pwny.cycle_find('PAAA') == 60
Exemple #4
0
def test_cycle_find_not_found():
    assert pwny.cycle_find('\x00', width=1) == -1
Exemple #5
0
def test_cycle_find_start():
    assert pwny.cycle_find('AAAA') == 0
Exemple #6
0
def test_cycle_find():
    assert pwny.cycle_find('PAAA') == 60