Peano
Loading...
Searching...
No Matches
test_binary_patch_file.py File Reference

Go to the source code of this file.

Namespaces

namespace  test_binary_patch_file
 

Functions

 test_binary_patch_file.values_of_patch (patch_id, name_offset=0.0, evil=False)
 
 test_binary_patch_file.write_file (path, binary, patches=2, datasets=("Q",), evil=False)
 
 test_binary_patch_file.parse (path, identifier="Q", patch_filter=None)
 
 test_binary_patch_file.test_text_and_binary_files_yield_the_same_patches (tmp_path, binary)
 
 test_binary_patch_file.test_binary_quantities_may_hold_any_bytes (tmp_path)
 
 test_binary_patch_file.test_other_datasets_are_stepped_over (tmp_path, binary)
 
 test_binary_patch_file.test_patch_filter_skips_patches (tmp_path, binary)
 

Variables

int test_binary_patch_file.DOF = 2
 
int test_binary_patch_file.UNKNOWNS = 3
 
int test_binary_patch_file.DIMENSIONS = 2
 
 test_binary_patch_file.EVIL = np.frombuffer(b"\nend pat\n", dtype=np.uint8)[:8].tobytes()