notaz.gp2x.de
/
ia32rtools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
beb04e2
)
kill 'assume cs'
author
notaz
<notasas@gmail.com>
Sat, 1 Feb 2014 18:48:24 +0000
(20:48 +0200)
committer
notaz
<notasas@gmail.com>
Sat, 1 Feb 2014 18:48:24 +0000
(20:48 +0200)
plugin/saveasm.cpp
patch
|
blob
|
blame
|
history
diff --git
a/plugin/saveasm.cpp
b/plugin/saveasm.cpp
index
f8d2639
..
9054260
100644
(file)
--- a/
plugin/saveasm.cpp
+++ b/
plugin/saveasm.cpp
@@
-368,6
+368,11
@@
static void idaapi run(int /*arg*/)
do_def_line(buf, sizeof(buf), ln.down());
if (strstr(buf, "include"))
continue;
+ p = strstr(buf, "assume cs");
+ if (p != NULL) {
+ memmove(p + 1, p, strlen(p) + 1);
+ *p = ';';
+ }
fout_line++;
qfprintf(fout, "%s\n", buf);