about summary refs log tree commit diff stats
path: root/miasm2/arch/msp430/arch.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename miasm2 to miasmFabrice Desclaux2019-03-051-587/+0
|
* Support python2/python3Fabrice Desclaux2019-03-051-7/+9
|
* Fix typos & add codespellPierre LALET2018-12-231-1/+1
|
* Expression: replace arg by ptr in ExprMemFabrice Desclaux2018-10-121-22/+22
|
* Update symbol_pool's deprecated API -> LocationDBAjax2018-07-031-3/+3
|
* symbol_pool -> loc_dbAjax2018-07-031-12/+12
|
* Core: replace AsmLabel by LocKeyFabrice Desclaux2018-06-091-6/+6
|
* Expr: Add new word ExprLocFabrice Desclaux2018-06-081-25/+29
| | | | | This word represents a location in the binary. Thus, the hack of ExprId containing an AsmLabel ends here.
* Parser: fix arguments nameFabrice Desclaux2018-05-141-12/+12
|
* Core: updt parser structureFabrice Desclaux2018-05-141-60/+52
|
* Replace ExprInt[num](x) -> ExprInt(x, num)Ajax2017-03-301-7/+7
|
* Asmbloc: rename asm_label to AsmLabelFabrice Desclaux2017-03-131-1/+0
|
* Core/cpu: change ParseAst nameFabrice Desclaux2017-02-131-1/+1
|
* Core/cpu: improve asm fromstringFabrice Desclaux2017-02-131-5/+1
| | | | | Determine label/integer sizes using context Default size in other cases
* remove #! command line on files not supposed to be run at top levelAymeric Vincent2017-01-051-1/+0
|
* Update int(XX.arg) -> int(XX)Ajax2016-09-161-6/+6
|
* Instructions: slots classFabrice Desclaux2016-01-151-0/+1
|
* Expression: fix apiFabrice Desclaux2015-10-291-10/+10
|
* Fix forgotten copy/paste from arm archMathieu Geli2015-06-161-1/+1
|
* Cpu: modify instructions' offset relative encodingFabrice Desclaux2015-04-011-5/+16
| | | | | | | | | | | | | | | | | | | The assembler will automatically use instruction len in offset computation In the following instruction: 0x10: EB 02 JMP 0x14 If we assemble this instruction, the requested instruction send to the assembler engine will be: JMP +0x4 And will be encoded to: EB 02 Previously, the assembly of: JMP +0x4 was: EB 04
* Asmbloc: updt apiFabrice Desclaux2015-04-011-2/+1
|
* Parse_asm: generate asm_label on symbol parsingFabrice Desclaux2015-04-011-1/+2
| | | | | | | For an unknown symbol, instead of generating ExprId('toto'), it will generate ExprId(asm_label('toto')). As label is generated in the architecture, this label must be catched in the parse_asm module to be inserted in the current symbol_pool.
* Remove lazy logging patternAjax2015-03-301-1/+1
|
* PyLint: Unreachable codeCamille Mougey2015-02-161-11/+5
|
* PyLint: Remove bad `super` callsCamille Mougey2015-02-161-1/+1
| | | | | miasm2/arch/msp430/arch.py:501: [E1003(bad-super-call), bs_cond_off_s.encode] Bad first argument 'bs_cond' given to super() miasm2/arch/x86/arch.py:2592: [E1003(bad-super-call), bs_cond_scale.encode] Bad first argument 'bs_cond' given to super()
* PyLint: Remove relative importsCamille Mougey2015-02-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | miasm2/jitter/jitload.py:17: [W0403(relative-import), ] Relative import 'jitcore_tcc', should be 'miasm2.jitter.jitcore_tcc' miasm2/jitter/jitload.py:22: [W0403(relative-import), ] Relative import 'jitcore_llvm', should be 'miasm2.jitter.jitcore_llvm' miasm2/jitter/jitload.py:27: [W0403(relative-import), ] Relative import 'jitcore_python', should be 'miasm2.jitter.jitcore_python' miasm2/jitter/jitcore.py:20: [W0403(relative-import), ] Relative import 'csts', should be 'miasm2.jitter.csts' miasm2/jitter/jitcore_tcc.py:7: [W0403(relative-import), ] Relative import 'jitcore', should be 'miasm2.jitter.jitcore' miasm2/jitter/jitcore_llvm.py:4: [W0403(relative-import), ] Relative import 'llvmconvert', should be 'miasm2.jitter.llvmconvert' miasm2/jitter/jitcore_llvm.py:5: [W0403(relative-import), ] Relative import 'jitcore', should be 'miasm2.jitter.jitcore' miasm2/jitter/loader/elf.py:7: [W0403(relative-import), ] Relative import 'utils', should be 'miasm2.jitter.loader.utils' miasm2/core/cpu.py:11: [W0403(relative-import), ] Relative import 'bin_stream', should be 'miasm2.core.bin_stream' miasm2/core/cpu.py:12: [W0403(relative-import), ] Relative import 'utils', should be 'miasm2.core.utils' miasm2/arch/sh4/arch.py:9: [W0403(relative-import), ] Relative import 'regs', should be 'miasm2.arch.sh4.regs' miasm2/arch/msp430/sem.py:8: [W0403(relative-import), ] Relative import 'regs', should be 'miasm2.arch.msp430.regs' miasm2/arch/msp430/arch.py:10: [W0403(relative-import), ] Relative import 'regs', should be 'miasm2.arch.msp430.regs' miasm2/arch/msp430/arch.py:11: [W0403(relative-import), ] Relative import 'regs', should be 'miasm2.arch.msp430.regs' miasm2/arch/msp430/disasm.py:2: [W0403(relative-import), ] Relative import 'arch', should be 'miasm2.arch.msp430.arch' miasm2/arch/arm/arch.py:10: [W0403(relative-import), ] Relative import 'regs', should be 'miasm2.arch.arm.regs' miasm2/arch/arm/arch.py:11: [W0403(relative-import), ] Relative import 'regs', should be 'miasm2.arch.arm.regs' miasm2/arch/arm/disasm.py:2: [W0403(relative-import), ] Relative import 'arch', should be 'miasm2.arch.arm.arch' miasm2/arch/x86/sem.py:26: [W0403(relative-import), ] Relative import 'regs', should be 'miasm2.arch.x86.regs' miasm2/arch/x86/arch.py:9: [W0403(relative-import), ] Relative import 'regs', should be 'miasm2.arch.x86.regs' miasm2/arch/x86/arch.py:10: [W0403(relative-import), ] Relative import 'regs', should be 'miasm2.arch.x86.regs' miasm2/arch/x86/disasm.py:3: [W0403(relative-import), ] Relative import 'arch', should be 'miasm2.arch.x86.arch' miasm2/arch/mips32/arch.py:10: [W0403(relative-import), ] Relative import 'regs', should be 'miasm2.arch.mips32.regs' miasm2/arch/mips32/arch.py:11: [W0403(relative-import), ] Relative import 'regs', should be 'miasm2.arch.mips32.regs' miasm2/arch/mips32/disasm.py:2: [W0403(relative-import), ] Relative import 'arch', should be 'miasm2.arch.mips32.arch'
* Msp430: fix execflow codeFabrice Desclaux2015-01-261-4/+7
|
* msp430: move jitserpilliere2014-08-211-0/+1
|
* msp430: fix asm dstserpilliere2014-08-211-3/+2
|
* Core: getbits use arch attrib (and can swap bytes); getbytes simply return bytesserpilliere2014-08-211-1/+1
|
* cpu/arch: arg2str moved in instruction classserpilliere2014-08-051-38/+23
|
* Miasm v2serpilliere2014-06-031-0/+601
* API has changed, so old scripts need updates * See example for API usage * Use tcc or llvm for jit emulation * Go to test and run test_all.py to check install Enjoy !