Improve "Autocomments only on CIP" #1383

Closed
justanotheranonymoususer opened this Issue Dec 17, 2016 · 1 comment

Projects

None yet

2 participants

@justanotheranonymoususer
Contributor

I want to have autocomments for things which are not likely to change, such as references to the memory section. Example:

lea r8,qword ptr ds:[7FF77BE6B560] ; [7FF77BE6B560] = "hello"

On the other hand, I don't want to have autocomments for things which are temporary, such as registers. Example:

mov rcx,rsi ; rsi = "world"

The reason is that by having a register hold a pointer to a string, the whole disassembly changes without a good reason.

@mrexodia
Member

While I do agree with your point about this behavior being weird (it has annoyed me a few times as well), the only actual reason for the 'Autocomments on CIP' option is to speed up disassembly. I will see how to change this, probably it's easy enough to make it both performant and behave in an intuitive way...

@mrexodia mrexodia added a commit that referenced this issue Dec 17, 2016
@mrexodia mrexodia DBG: resolved issue #1383 (still print autocomments for constant valu…
…es with 'Autocomment on CIP' enabled)
1ebcb07
@mrexodia mrexodia closed this Dec 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment