diff options
| author | Camille Mougey <commial@gmail.com> | 2015-03-20 20:10:35 +0100 |
|---|---|---|
| committer | Camille Mougey <commial@gmail.com> | 2015-03-20 20:10:35 +0100 |
| commit | 4170c27df9e0e27cc60a74137b294b41982ed44c (patch) | |
| tree | 5191969f32b3311f6318920e477a8227447bfc34 | |
| parent | 8384207ead6e0f7d81c205835c85a4871608ff3d (diff) | |
| parent | bd324bc83c043b1bb46240d2f91e96ac73b0ef02 (diff) | |
| download | miasm-4170c27df9e0e27cc60a74137b294b41982ed44c.tar.gz miasm-4170c27df9e0e27cc60a74137b294b41982ed44c.zip | |
Merge pull request #122 from serpilliere/dontsplit
ParseAsm: dont generate parasite line on 'dontsplit' directive
| -rw-r--r-- | miasm2/core/parse_asm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/core/parse_asm.py b/miasm2/core/parse_asm.py index 09003ed9..b42bdbcc 100644 --- a/miasm2/core/parse_asm.py +++ b/miasm2/core/parse_asm.py @@ -124,7 +124,7 @@ def parse_txt(mnemo, attrib, txt, symbol_pool=None, gen_label_index=0): lines.append(x) continue if directive == 'dontsplit': # custom command - lines.append(asmbloc.asm_raw(line.strip())) + lines.append(asmbloc.asm_raw()) continue if directive in ['file', 'intel_syntax', 'globl', 'local', 'type', 'size', 'align', 'ident', 'section']: |