diff options
| author | Vladislav HrĨka <41523109+nofiv@users.noreply.github.com> | 2019-02-07 22:43:43 +0100 |
|---|---|---|
| committer | serpilliere <serpilliere@users.noreply.github.com> | 2019-02-07 22:43:43 +0100 |
| commit | 4c8a61e8baa33cee185ff2b086c7b3094f99824e (patch) | |
| tree | d7bc7d94031a5b5dde5bf0c3fa1bba696dc8b54a /test/arch/x86/arch.py | |
| parent | 5cfdeb7ab8d889232044bb93f2505cfb23c4f92f (diff) | |
| download | miasm-4c8a61e8baa33cee185ff2b086c7b3094f99824e.tar.gz miasm-4c8a61e8baa33cee185ff2b086c7b3094f99824e.zip | |
Support for REP instruction prefix (#956)
* Added function find_path_by_successors The function find_path_by_successors does the same as function find_path, but it searches the paths from src to dst, not vice versa like find_path, which might be more efficient in some cases. * Added support for REP instruction prefix Added support for REP instruction prefix * Added support for REP instruction prefix Added support for REP instruction prefix * Added support for REP prefix According to https://c9x.me/x86/html/file_module_x86_id_279.html 0xF3AD is REP LODSD and not REPE LODSD * Added REP instruction prefix support fix Added REP instruction prefix support fix * Added REP instruction prefix support fix Added REP instruction prefix support and REPNZ, REPZ aliases * Fix of adding REP instruction prefix Fixing https://github.com/cea-sec/miasm/pull/956#discussion_r253361754. I also put https://github.com/nofiv/miasm/edit/master/miasm2/arch/x86/arch.py#diff-f7dd74dede0a04f194dff140d0976b98L739 behind the loop since it seems to be serving similar purpose. * Fix of the added REP intruction prefix Fixing https://github.com/cea-sec/miasm/pull/956#discussion_r253361339 * Discard changes Creating another PR for this * Update arch.py
Diffstat (limited to 'test/arch/x86/arch.py')
| -rw-r--r-- | test/arch/x86/arch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/arch/x86/arch.py b/test/arch/x86/arch.py index 36d6c2c8..d2204d77 100644 --- a/test/arch/x86/arch.py +++ b/test/arch/x86/arch.py @@ -2020,7 +2020,7 @@ reg_tests = [ "F2AE"), (m32, "00000000 REPE SCASB", "F3AE"), - (m32, "00000000 REPE LODSD", + (m32, "00000000 REP LODSD", "F3ad"), (m32, "00000000 RET", |