Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implem x64 mem_access [RIP+DISP32] #54

Merged
merged 1 commit into from
May 21, 2024
Merged

Implem x64 mem_access [RIP+DISP32] #54

merged 1 commit into from
May 21, 2024

Conversation

hakril
Copy link
Owner

@hakril hakril commented May 21, 2024

Implements the [RIP+DISP32] memory reference in simple_x64.
Also add some tests for a bug in assemble("raw XX").

Copy link

github-actions bot commented May 21, 2024

Unit Test Results

430 tests  +2   423 ✔️ +34   2m 11s ⏱️ -33s
    1 suites ±0       7 💤  - 32 
    1 files   ±0       0 ±  0 

Results for commit feafb52. ± Comparison against base commit 275d054.

This pull request removes 38 and adds 40 tests. Note that renamed tests count towards both.
test_object_manager ‑ test_directory_object[\\KnownDLLs]
test_object_manager ‑ test_multiple_access_type[\\KnownDLLs]
test_registry ‑ test_registry_badly_encoded_values[Hello\x00World\x00This is not really unicode\x00\x00-REG_MULTI_SZ(0x7)]
test_registry ‑ test_registry_badly_encoded_values[Hello\x00World\x00This is not unicode\x00\x00-REG_MULTI_SZ(0x7)]
test_registry ‑ test_registry_badly_encoded_values[\xff\xd8-REG_MULTI_SZ(0x7)]
test_registry ‑ test_registry_set_get_simple_values_with_types[-REG_NONE(0x0)]
test_registry ‑ test_registry_set_get_simple_values_with_types[-REG_SZ(0x1)]
test_registry ‑ test_registry_set_get_simple_values_with_types[1234605616436508552-REG_QWORD(0xb)]
test_registry ‑ test_registry_set_get_simple_values_with_types[287454020-REG_DWORD(0x4)]
test_registry ‑ test_registry_set_get_simple_values_with_types[287454020-REG_DWORD_BIG_ENDIAN(0x5)]
…
test_object_manager ‑ test_directory_object[\KnownDLLs]
test_object_manager ‑ test_multiple_access_type[\KnownDLLs]
test_registry ‑ test_registry_badly_encoded_values[Hello\x00World\x00This is not really unicode\x00\x00-type2]
test_registry ‑ test_registry_badly_encoded_values[Hello\x00World\x00This is not unicode\x00\x00-type1]
test_registry ‑ test_registry_badly_encoded_values[\xff\xd8-type0]
test_registry ‑ test_registry_set_get_simple_values_with_types[-type3]
test_registry ‑ test_registry_set_get_simple_values_with_types[-type9]
test_registry ‑ test_registry_set_get_simple_values_with_types[287454020-type0]
test_registry ‑ test_registry_set_get_simple_values_with_types[287454020-type1]
test_registry ‑ test_registry_set_get_simple_values_with_types[BIN_DATA\x01\x02\x03\x00\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f !"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7f\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xab\xac\xad\xae\xaf\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff-type7]
…
This pull request skips 6 and un-skips 38 tests.
test_native_utils.TestNativeUtils ‑ test_getprocaddr32
test_native_utils.TestNativeUtils ‑ test_strlena32
test_native_utils.TestNativeUtils ‑ test_strlenw32
test_syswow ‑ test_syswow_call_multithread
test_syswow.TestSyswowCurrentProcess ‑ test_exec_syswow
test_syswow.TestSyswowCurrentProcess ‑ test_self_pebsyswow
test_debugger ‑ test_bp_exe_by_name[proc64dbg]
test_debugger ‑ test_exe_in_module_list[proc64dbg]
test_debugger ‑ test_four_hwx_breakpoint_fail[proc64dbg]
test_debugger ‑ test_hardware_breakpoint_name_addr[proc64dbg]
test_debugger ‑ test_hwx_breakpoint_are_on_all_thread[proc64dbg]
test_debugger ‑ test_init_breakpoint_callback[proc64dbg]
test_debugger ‑ test_keyboardinterrupt_when_bp_event[proc64dbg]
test_debugger ‑ test_mem_breakpoint_remove[proc64dbg]
test_debugger ‑ test_mem_breakpoint_self_remove[proc64dbg]
test_debugger ‑ test_memory_breakpoint_exec[proc64dbg]
…

♻️ This comment has been updated with latest results.

@hakril hakril merged commit 328735b into master May 21, 2024
7 checks passed
@hakril hakril deleted the improve_simple_x64 branch June 14, 2024 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant