| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Merge pull request #1081 from themaks/patch-1 | serpilliere | 2019-10-19 | 1 | -1/+1 |
| |\ | | | | | Adds a missing import | ||||
| | * | Adds a forgotten import | Maxime Meignan | 2019-10-19 | 1 | -1/+1 |
| |/ | |||||
| * | Merge pull request #1079 from WilliamBruneau/fix_loader_none_addr | serpilliere | 2019-10-18 | 1 | -1/+2 |
| |\ | | | | | Loader: avoid None dst_ad in lib_imp2dstad | ||||
| | * | Loader: avoid None dst_ad in lib_imp2dstad | William Bruneau | 2019-10-17 | 1 | -1/+2 |
| | | | |||||
| * | | Merge pull request #1078 from serpilliere/fix_bytes_handling | serpilliere | 2019-10-18 | 1 | -1/+1 |
| |\ \ | |/ |/| | Fix python2/python3 bytes manipulation | ||||
| | * | Fix python2/python3 bytes manipulation | Fabrice Desclaux | 2019-10-17 | 1 | -1/+1 |
| |/ | |||||
| * | Merge pull request #1077 from serpilliere/fix_float_tipo | serpilliere | 2019-10-17 | 1 | -5/+5 |
| |\ | | | | | X86/sem: fix tipo during python2/3 updt | ||||
| | * | X86/sem: fix tipo during python2/3 updt | Fabrice Desclaux | 2019-10-17 | 1 | -5/+5 |
| | | | |||||
| * | | Merge pull request #1076 from WilliamBruneau/android_support | serpilliere | 2019-10-17 | 1 | -1/+4 |
| |\ \ | | | | | | | Jitter: android support | ||||
| | * | | Jitter: remove unused macro | William Bruneau | 2019-10-16 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | Furthermore this macro is already declared in android and thus generates a warning. | ||||
| | * | | Jitter: fix compilation on android | William Bruneau | 2019-10-16 | 1 | -0/+4 |
| | | | | |||||
| * | | | Merge pull request #1075 from WilliamBruneau/remove_clang_warning | serpilliere | 2019-10-16 | 1 | -2/+0 |
| |\ \ \ | |/ / |/| | | Jitter: remove Clang warnings | ||||
| | * | | Jitter: remove Clang warnings | William Bruneau | 2019-10-16 | 1 | -2/+0 |
| |/ / | |||||
| * | | Merge pull request #1074 from WilliamBruneau/avoid_depreciation_warning | serpilliere | 2019-10-16 | 1 | -2/+2 |
| |\ \ | | | | | | | Avoid deprecation warning | ||||
| | * | | Avoid deprecation warning | William Bruneau | 2019-10-16 | 1 | -2/+2 |
| |/ / | |||||
| * | | Merge pull request #1072 from WilliamBruneau/fix_depgraph_ida | serpilliere | 2019-10-09 | 1 | -3/+4 |
| |\ \ | | | | | | | Fix IDA depgraph example | ||||
| | * | | Fix IDA depgraph example | William Bruneau | 2019-10-09 | 1 | -3/+4 |
| | |/ | |||||
| * | | Merge pull request #1070 from htfy96/add-roundsd | serpilliere | 2019-10-07 | 2 | -0/+35 |
| |\ \ | | | | | | | Add roundss/roundsd | ||||
| | * | | arch: x86: add translation from roundsd to IR | Zheng Luo | 2019-10-06 | 1 | -0/+31 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds three new ops for rounding: - 'fpround_towardsnearest': rounds to nearest int, even for ties - 'fpround_down': rounds to nearest int <= float - 'fpround_up': rounds to nearest int >= float - 'fpround_towardszero'(existing): rounds to nearest int s.t. |int| <= |float| For a variant of roundsd that uses mxcsr register as the rounding mode, currently we assume it's fpround_towardsnearest. This may cause trouble if the program modifies MXCSR register. Tested: $ objdump -dSC rounds.so 0000000000001000 <entry>: 1000: 66 0f 3a 0b c0 01 roundsd $0x1,%xmm0,%xmm0 1006: 66 0f 3a 0a c0 0c roundss $0xc,%xmm0,%xmm0 100c: c3 retq $ cat test.py from miasm.analysis.binary import * from miasm.analysis.machine import Machine from miasm.expression.simplifications import expr_simp with open('rounds.so', 'rb') as f: cont = ContainerELF.from_stream(f) machine = Machine(cont.arch) mdis = machine.dis_engine(cont.bin_stream, loc_db=cont.loc_db) asmcfg = mdis.dis_multiblock(cont.loc_db.get_name_offset('entry')) ir = machine.ir(asmcfg.loc_db) ircfg = ir.new_ircfg_from_asmcfg(asmcfg) ircfg.simplify(expr_simp) print(ircfg.blocks[ircfg.heads()[0]].to_string()) $ python test.py loc_key_0: XMM0 = {fpround_down(XMM0[0:64]) 0 64, XMM0[64:128] 64 128} XMM0 = {fpround_towardsnearest(XMM0[0:32]) 0 32, XMM0[32:128] 32 128} RSP = RSP + 0x8 RIP = @64[RSP] IRDst = @64[RSP] | ||||
| | * | | arch: x86: add roundsd decoder | Zheng Luo | 2019-10-06 | 1 | -0/+4 |
| | | | | |||||
| * | | | Merge pull request #1071 from htfy96/ud2-break-flow | serpilliere | 2019-10-07 | 1 | -1/+1 |
| |\ \ \ | |/ / |/| | | arch: x86: make UD2 break control flow | ||||
| | * | | arch: x86: make UD2 break control flow | Zheng Luo | 2019-10-06 | 1 | -1/+1 |
| |/ / | |||||
| * | | Merge pull request #1068 from losynix/int1 | serpilliere | 2019-10-01 | 6 | -2/+19 |
| |\ \ | |/ |/| | fix int 1 handling | ||||
| | * | fix int 1 handling | Louis | 2019-09-30 | 6 | -2/+19 |
| |/ | |||||
| * | Merge pull request #1067 from a-vincent/ppc-tests | serpilliere | 2019-09-26 | 4 | -0/+249 |
| |\ | | | | | Add a few PPC32 tests | ||||
| | * | Add a few PPC32 tests | Aymeric Vincent | 2019-09-25 | 3 | -0/+248 |
| | | | |||||
| | * | add "ba" to the list; allows PPC tests to pass the codespell spell | Aymeric Vincent | 2019-09-25 | 1 | -0/+1 |
| |/ | |||||
| * | Merge pull request #1066 from vmovq/master | serpilliere | 2019-09-24 | 1 | -2/+2 |
| |\ | | | | | modify CreateFile to open file in binary-mode | ||||
| | * | modify CreateFile to open file in binary-mode | stanislas | 2019-09-24 | 1 | -2/+2 |
| |/ | |||||
| * | Merge pull request #1065 from serpilliere/fix_bytes_dll_names | serpilliere | 2019-09-23 | 13 | -67/+70 |
| |\ | | | | | Fix bytes dllname | ||||
| | * | Fix get_str_ansi: return str | Fabrice Desclaux | 2019-09-22 | 10 | -57/+51 |
| | | | | | | | | | | | get_str_ansi and get_str_unic now returns both *str* object: As get_str_unic decodes the string, get_str_ansi should do the same. | ||||
| | * | Fix bytes dllname | Fabrice Desclaux | 2019-09-22 | 5 | -10/+19 |
| |/ | |||||
| * | Merge pull request #1064 from serpilliere/logo_readme | serpilliere | 2019-09-21 | 2 | -0/+5 |
| |\ | | | | | Add miasm logo | ||||
| | * | Add miasm logo | Fabrice Desclaux | 2019-09-21 | 2 | -0/+5 |
| |/ | |||||
| * | Merge pull request #1061 from WilliamBruneau/exception_vm2pe | serpilliere | 2019-09-20 | 1 | -1/+4 |
| |\ | | | | | Loader: add exception in vm2pe | ||||
| | * | Loader: add exception in vm2pe for PC < image base | William Bruneau | 2019-09-20 | 1 | -1/+4 |
| | | | |||||
| * | | Merge pull request #1062 from WilliamBruneau/fix_codespell | serpilliere | 2019-09-20 | 14 | -34/+35 |
| |\ \ | | | | | | | Some codespell fixes | ||||
| | * | | Codespell: add excetion 'blocs' to keep API unchanged | William Bruneau | 2019-09-20 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixing some codespell errors would imply modifying some API. Codespell errors: miasm/core/asmblock.py:1608: blocs ==> blocks def dis_multibloc(self, offset, blocs=None): miasm/core/asmblock.py:1614: blocs ==> blocks return self.dis_multiblock(offset, blocs) | ||||
| | * | | Codespell: fix some spelling mistakes | William Bruneau | 2019-09-20 | 13 | -34/+34 |
| |/ / | |||||
| * | | Merge pull request #1059 from WilliamBruneau/fix_travis | serpilliere | 2019-08-29 | 1 | -1/+1 |
| |\ \ | |/ |/| | Travis: switch from trusty to xenial | ||||
| | * | Travis: llvm-toolchain-trusty-6.0 to llvm-toolchain-xenial-6.0 | William Bruneau | 2019-08-29 | 1 | -1/+1 |
| |/ | | | | see: https://travis-ci.community/t/cannot-apt-get-install-clang-5-0/3250 | ||||
| * | Merge pull request #1057 from carolineLe/byte_str_error | serpilliere | 2019-08-17 | 1 | -3/+3 |
| |\ | | | | | Fix str/bytes handling in pe loader | ||||
| | * | Fix str/bytes handling in pe loader | Caroline Leman | 2019-08-08 | 1 | -3/+3 |
| |/ | |||||
| * | Merge pull request #1056 from WilliamBruneau/type_segm_op | serpilliere | 2019-08-01 | 1 | -1/+2 |
| |\ | | | | | Objc: support segm op | ||||
| | * | Objc: support segm op | William Bruneau | 2019-08-01 | 1 | -1/+2 |
| |/ | |||||
| * | Merge pull request #1055 from WilliamBruneau/fix_ida_menu | serpilliere | 2019-07-27 | 1 | -0/+2 |
| |\ | | | | | Fix example/ida/menu.py for IDA >= 7.1 | ||||
| | * | Fix example/ida/menu.py for IDA >= 7.1 | William Bruneau | 2019-07-26 | 1 | -0/+2 |
| |/ | |||||
| * | test: mem_breakpoint.py as a sample of memory breakpoints and its handlers. ↵ | idl3r | 2019-06-28 | 2 | -0/+83 |
| | | | | | | | | | | | | | (#1050) * test: add mem_breakpoint.py * test: enable args * test: add mem_breakpoint.py to test_all script * test: update memory mapping in mem_breakpoint.py | ||||
| * | Merge pull request #998 from commial/feature/extensive-tests | serpilliere | 2019-06-17 | 2 | -1/+16 |
| |\ | | | | | Extended tests - reintroduce ls tests with extern repository | ||||
| | * | Add extended tests in travis | Ajax | 2019-06-13 | 1 | -1/+6 |
| | | | |||||