Menu

#742 [ThreadSearch] Don't prepend tilde to search keyword

Undefined
applied
ollydbg
Patch
2018-10-07
2018-09-25
No

I'm suggesting a modification in the ThreadSearch "Find Occurrences" behavior for words that are preceded by a tilde. In such cases, ThreadSearch automatically prepends the tilde to the search keyword (i.e., assuming it's a C++ destructor). But the tilde is also a bit-wise negation operator.

Consider,

int var = 0;
var = ~var;

Upon right-clicking on 'var' (on the right-hand side), the context menu shows Find occurrences of: '~var', which is wrong. So I think the automatic prefixing should be disabled. The user can still select an arbitrary range of text to specifically include such symbols.

Patch attached.

1 Attachments

Discussion

  • ollydbg

    ollydbg - 2018-10-06
    • assigned_to: ollydbg
     
  • ollydbg

    ollydbg - 2018-10-07
    • status: open --> applied
     
  • ollydbg

    ollydbg - 2018-10-07

    In svn trunk now. Many thanks to Huki.

     

Log in to post a comment.

MongoDB Logo MongoDB