Menu

#503 save disassemble option 'mixed mode'

Undefined
applied
Patch
2017-06-06
2017-04-27
exchg
No

save 'mixed mode' flag on disassembly window to be always on and do not toggle it manually every time

Discussion

  • exchg

    exchg - 2017-04-28

    also it would be nice to to save selected dump size on memory dump window.

     
  • bluehazzard

    bluehazzard - 2017-04-30

    Here is a patch for the firs suggestion. I have added the save code in the debugger manager, because there is a member variable who is related to the mode. I also added the DebuggerManager::Free() call in the Manager::Shutdown() function. See the forum post http://forums.codeblocks.org/index.php/topic,21923.msg149105/topicseen.html#msg149105
    There was also a no range check bug in DisassemblyDlg::SetActiveAddress(uint64_t addr)

     

    Last edit: bluehazzard 2017-04-30
  • bluehazzard

    bluehazzard - 2017-04-30

    here is part two, for the examine memory dlg

     
  • ollydbg

    ollydbg - 2017-05-01
    • labels: --> Patch, Debugger, UI
     
  • bluehazzard

    bluehazzard - 2017-05-01

    Ok , i created three patches:
    FIX_503_memory_bug : Fixes a overflow error and calls the DebuggerManager Free function. This are not related to this ticket but i found them while implementing it, so i post them here
    FIX_503_examine_memory_02: Save the setting from the examine memory dialog. This time don't use the destructor as obfuscated pointed out in the forum thread
    FIX_503_disassembly_dlg_02 : Save the setting from the disassembly dialog, again not in the destructor but in the ui event handler

     
  • Teodor Petrov

    Teodor Petrov - 2017-05-08

    I've pushed almost everything, except the out-of-bounds fix.

    Can you tell me how to reproduce the problem? I'm not really sure this is the correct fix.

     
  • Teodor Petrov

    Teodor Petrov - 2017-05-08
    • labels: Patch, Debugger, UI --> Debugger, UI
    • assigned_to: Teodor Petrov
    • Type: Feature_Request --> Patch
     
  • bluehazzard

    bluehazzard - 2017-05-09

    Steps to reproduce on windows 7:
    1) open a project
    2) Add some breakpoint
    3) Start debugger
    4) open the disassembly window
    5) stop the debugger
    6) start the debugger (now with the disassembly window open on startup of the debugger)
    7) crash

     
  • Teodor Petrov

    Teodor Petrov - 2017-06-06
    • status: open --> applied
     
  • Teodor Petrov

    Teodor Petrov - 2017-06-06

    Everything should be applied in trunk/master now.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.