proxy
11-09-2006, 06:38 PM
Ok, released slightly later than I had hoped, but here is a pre-1.0 version I thought was release worthy, I hope you all enjoy!
http://www.codef00.com/projects.php#Debugger
http://www.codef00.com/projects.php#Debugger
View Full Version : EDB Linux Debugger 0.8.0 Release :)
.| [Originally Posted by this is what caught my eye, that is displayed in the terminal after exit]waiting for X server to shut down X connection to :0.0 broken (explicit kill or server shutdown). |
| [Originally Posted by these lines are added to xorg log after closing debugger] (II) 3rd Button detected: disabling emulate3Button (II) fglrx(0): [drm] removed 1 reserved context for kernel (II) fglrx(0): [drm] unmapping 8192 bytes of SAREA 0x2c000 at 0xb7720000 FreeFontPath: FPE "/usr/share/fonts/misc" refcount is 2, should be 1; fixing. |
| [Originally Posted by this also caught my eye in the xorg log](EE) AIGLX error: dlsym for __driCreateNewScreen_20050727 failed (/usr/lib/xorg/modules/dri/atiogl_a_dri.so: undefined symbol: __driCreateNewScreen_20050727) (EE) AIGLX: reverting to software rendering |
| Ohh, I also have a few requests of what I think are quite handy/essential features for me, and maybe others? I hope you don't mind? *instruction/line highlighting in cpu instruction/disassembly view *ability to goto a specified address, and change memory region in cpu instruction/disassembly view *ability to modify/edit anything in the data dump view *ability to modify/edit an instruction in the cpu instruction/disassembly view <- but not essential |


.
).
.
But it also kinda sucks that icewm has some issues with QT4.
Anyway, I am going to ask those who are interested to try to check regularly so I don't feel like I am spamming this forums with ads for myself :-P


| Ok, i got a vmware session with fc5 and upgraded qt and qt-devel to v4. Compilation etc is smooth. edb looks very promising. It's on par with 'kdbg'. Congratulations. There are a lot of room for improvement, for example, following dump, symbols, system/library call automatic recognition, etc. |

.

rocessEvents(QFlags

==26507== IN SUMMARY: 36 errors from 3 contexts (suppressed: 7 from 1)
==26507==
==26507== malloc/free: in use at exit: 308,231 bytes in 3,824 blocks.
==26507== malloc/free: 164,138 allocs, 160,314 frees, 10,879,333 bytes allocated.
==26507==
==26507== searching for pointers to 3,824 not-freed blocks.
==26507== checked 907,240 bytes.
==26507==
==26507==
==26507== 20 bytes in 1 blocks are definitely lost in loss record 30 of 116
==26507== at 0x40245D8: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==26507== by 0x4ACDF8A: strdup (in /lib/libc-2.4.so)
==26507==
==26507==
==26507== 156 (36 direct, 120 indirect) bytes in 1 blocks are definitely lost in loss record 71 of 116
==26507== at 0x40245D8: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==26507== by 0x4B43F54: (within /lib/libc-2.4.so)
==26507==
==26507==
==26507== 216 bytes in 1 blocks are definitely lost in loss record 77 of 116
==26507== at 0x40245D8: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==26507== by 0x46D5379: _XimOpenIM (in /usr/lib/libX11.so.6.2.0)
==26507==
==26507==
==26507== 2,038 bytes in 2 blocks are definitely lost in loss record 101 of 116
==26507== at 0x40245D8: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==26507== by 0x45C7BBA: (within /usr/lib/libfreetype.so.6.3.8)
==26507==
==26507== LEAK SUMMARY:
==26507== definitely lost: 2,310 bytes in 5 blocks.
==26507== indirectly lost: 120 bytes in 10 blocks.
==26507== possibly lost: 0 bytes in 0 blocks.
==26507== still reachable: 305,801 bytes in 3,809 blocks.
==26507== suppressed: 0 bytes in 0 blocks.


good work guys and thanks for this, because of you ,I'm happy to be here , and thank you for woodmann, jmi etc for bring back this forum again, you know after along Error Page, I really happy to see a gain. there's a new monster (Vista) out there in our hunting ground , lets refine our weapon(knowlege) also. good hunt


.
| As far as how open I feel the development is, I want to make it very open but I would still like patches sent to me so I apply them. This way I'll at least be able to know what things are being added! |
_______________________________________________________________________________
eax:0000000E ebx:BFFFF47C ecx:0000009D edx:BFFFF13C eflags:00200302
esi:BFFFF14C edi:0000000E esp:BFFFF0F8 ebp:BFFFF160 eip:0804A528
cs:0073 ds:007B es:007B fs:0000 gs:0033 ss:007B o d I T s z a p c
[007B:BFFFF0F8]---------------------------------------------------------[stack]
BFFFF128 : 00 00 00 00 00 00 00 00 - 00 00 00 00 8C 7D 1D 01 .............}..
BFFFF118 : C8 FF FF BF 0E 00 00 00 - 40 01 C8 FF 00 40 0E 40 ........@....@.@
BFFFF108 : 8C F1 FF BF 28 F1 FF BF - E6 11 43 40 4C F1 FF BF ....(.....C@L...
BFFFF0F8 : 8C 7D 1D 40 FC A3 04 08 - FC A3 04 08 0C 00 00 00 .}.@............
[007B:BFFFF14C]---------------------------------------------------------[ data]
BFFFF14C : 31 32 33 34 35 36 37 38 - 39 30 61 62 63 64 9D 00 1234567890abcd..
BFFFF15C : 94 F1 FF BF 94 F1 FF BF - C8 33 0C 40 7C F4 FF BF .........3.@|...
[0073:0804A528]---------------------------------------------------------[ code]
0x804a528: mov $0xe,%esi
0x804a52d: mov %esi,%ecx
0x804a52f: sub 0xffffffd8(%ebp),%ecx
0x804a532: lea 0xffffffec(%ebp),%esi
0x804a535: mov (%eax,%edx,1),%al
0x804a538: cmp (%ecx,%esi,1),%al
------------------------------------------------------------------------------
also i am thinking of moving to qt4, which i just yesterday got straight in parallel to qt3 (was easy, but i was afraid to break my dev system) - in order we can better share.
its unplanned and eating my time for review 



| [Originally Posted by highenergy;66471]6-) Is there any assembler for linux which supports high level constructions like masm? I am used to nasm but it lacks of high level constructions. |


.I have been hard at work with a replacement disassembler engine which will be more robust, faster and portable than libdisasm. It's almost done, the major missing feature is AT&T syntax output at the moment, not sure if it's even a big deal (please people, tell me if it is). |
You are great proxy. I wish you many more successes in your life&work. One more thing, just curiosity, what is your favorite assembler? Gas or nasm? Gas' AT&T syntax is horrible and nasm has lack of high level consructions. I can hear that you say why don't you use nasm32 with macros but I don't like doing that in that way. What I really want is an exact replacement of masm under linux. Maybe I am asking to much things but there is no one in linux community except from you who can make an assembler which has masm's syntax.

Hope you all enjoy!:
.
. Just hit ctrl+D and 
| [Originally Posted by proxy;69792]what happened to the boards for so long? |


.
.
.
.
).
.
DebugEventHandlerInterface *edb::v1::setDebugEventHandler(DebugEventHandlerInterface *p) {
Q_CHECK_PTR(p);
// TODO: add locks here, used to be atomic
DebugEventHandlerInterface *const oldptr = g_DebugEventHandler;
g_DebugEventHandler = p;
return oldptr;
}
DebugEventHandlerInterface *edb::v1::debugEventHandler() {
return g_DebugEventHandler;
}

pen(const QString&, const QString&, const QStringList&, const QString&)\u2019: