MTDBG - отладчик пользовательского уровня

...
  • tserj wrote:
    CleverMouse wrote:После r4285 в командной строке отладчика невозможно ввести цифры 8 и 9.
    mcall 2 возвращает в eax одинаковые значения для них. Значения ASCII для F-клавиш до F10 пересекаются с цифрами.
    выслушаю предложения...
    варианты: переделать на сканкоды; доработать mcall 2 (al - 3 для F клавиш, например), другое.
    And what is more annoying?
    Unable to set breakpoint values with numbers 8 or 9 in them, or whatever the problem was before with single stepping?
    "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
  • tserj wrote:варианты: переделать на сканкоды; доработать mcall 2 (al - 3 для F клавиш, например), другое.
    Есть мысль возвращать не только ASCII код, но а сканкод клавиши в режиме ASCII, при этом нужно подумать над обратной совместимостью.
    Всем чмоки в этом проекте! Засуньте эти 11 лет себе в жопу!
  • Благодаря Mario_r4 теперь можно отличить F7/F8 от 8/9, я исправила невозможность ввести 8 и 9 в r4590.
    Сделаем мир лучше!
  • In #4594, some glitches in the GUI were fixed.

    Now it's also possible to select a color theme before assembling mtdbg.asm

    Black on white (default)
    Spoiler:
    mtdbg_black_on_white.png
    mtdbg_black_on_white.png (12.93 KiB)
    Viewed 10294 times
    White on black
    Spoiler:
    mtdbg_white_on_black.png
    mtdbg_white_on_black.png (12.86 KiB)
    Viewed 10294 times
    MovieOS
    Spoiler:
    mtdbg_movieos.png
    mtdbg_movieos.png (12.88 KiB)
    Viewed 10294 times
    "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
  • I'm working on a guide to MTDBG (mostly targeted at newcomers.)
    http://wiki.kolibrios.org/wiki/Using_mtdbg

    What should I definitely add? What is unclear?
    All comments welcome.
    "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
  • Leency wrote:Сейчас вот этот белый прямоугольник
    Image
    рисуется следующим кодом

    Code: Select all

        ; registers frame
            ;push   13
            ;pop    eax
            mov     ebx, (registers_x_pos-2)*10000h + (registers_x_size+4)
            mov     ecx, (registers_y_pos-2)*10000h + (registers_y_size+4)
            ; draw container rectangle/box for registers information window region
            ; color in edx
            mcall   13
    Т.е. ободок рисуется наложением двух прямоугольников, что приводит к жуткой перерисовке. Нужно вместо этого рисовать бордер, используя 4 белые линии.
    Исправлено бля :D
    rev 4738-4739
    Из хаоса в космос
  • Since #4886, MTDBG now has the ability to load .map symbols files (such as generated by GCC).
    Updated the version number to 0.34
    Spoiler:
    mtdbg.png
    mtdbg.png (14.15 KiB)
    Viewed 10106 times
    "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
  • Yeah!!!
    Spoiler:
    fplay.png
    fplay.png (15.55 KiB)
    Viewed 10095 times
  • Сделал вывод содержимого регистров fpu и mmx. Свободные регистры fpu помечены "empty", бесконечности,неопределённости и прочая числовая нечисть - "invalid"
    Spoiler:
    mtdbg.png
    mtdbg.png (16.56 KiB)
    Viewed 10042 times
  • Браво, маэстро!

    а насколько трудно будет расписать 128-битные регистры?

    метки [SSE] и [AVX] в верхнем правом углу - это зарубки на будущее?
  • art_zh wrote:Браво, маэстро!
    Так он и до функционала IDA PRO доберётся :D
  • art_zh
    AVX не поддерживает ядро. Надо бы впилить, да некогда.
    А так основная работа сделана, надо место для SSE выделить, в окно не влезает.
    Last edited by Serge on Sun Apr 27, 2014 8:07 pm, edited 1 time in total.
  • Serge:
    I have been thinking about making the window resizeable, right now some disassemblies don't fit when using long labels :)
    "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
  • hidnplayr
    Good idea, SSE requierd additional 16 chars in width.
    And how about Ctrl+L for load with openfile ? I hate to type this load /kolibrios/media/....
  • Who is online

    Users browsing this forum: No registered users and 5 guests