flat assembler
Message board for the users of flat assembler.
Index
> Linux > Linux debugger |
Author |
|
Fixit 21 Aug 2013, 19:48
I am looking for advice on Linux debuggers if there are some who use Linux.
What do you use, etc ? Thanks. |
|||
21 Aug 2013, 19:48 |
|
Fixit 21 Aug 2013, 21:02
Thanks for the info.
Andy |
|||
21 Aug 2013, 21:02 |
|
HaHaAnonymous 22 Aug 2013, 00:53
[ Post removed by author. ]
Last edited by HaHaAnonymous on 28 Feb 2015, 20:09; edited 1 time in total |
|||
22 Aug 2013, 00:53 |
|
Endre 22 Aug 2013, 10:37
It may sound a blasphemy here on this forum, but if you're using fasm instead of practically any other assemblers on Linux then you'll be in trouble. It is because fasm is unable to generate standard debug info (like e.g. DWARF2) which is necessary for debuggers. Of course in tricky ways you can debug your code even without debug info, but it's far from convenient.
So if you're about to write bigger assembly programs on Linux I advise to change to other assembler which can generate proper debug info. On Linux the host debugger is gdb, nothing else. Learn it. Not debugging is not an option for sane people. |
|||
22 Aug 2013, 10:37 |
|
neuron 22 Aug 2013, 12:13
Excuse me.
Is there no use FDBG in "Projects and Ideas" forum? http://board.flatassembler.net/topic.php?t=9689 Nobody use this? |
|||
22 Aug 2013, 12:13 |
|
HaHaAnonymous 22 Aug 2013, 13:43
[ Post removed by author. ]
Last edited by HaHaAnonymous on 28 Feb 2015, 20:08; edited 1 time in total |
|||
22 Aug 2013, 13:43 |
|
Fixit 22 Aug 2013, 14:46
No 32 bit versions of fdbg ?
I am looking to analyze a "rogue dll." It was caught in the system32 directory masquerading as a system file. Tip off was that it had no version info, a very recent file date, and had all file attributes set. I would like to analyze it using a tool passively debugs it. Thanks. As for debugging being just a tool. You don't have to use one. We won't call you a newbie either. |
|||
22 Aug 2013, 14:46 |
|
HaHaAnonymous 22 Aug 2013, 15:23
[ Post removed by author. ]
Last edited by HaHaAnonymous on 28 Feb 2015, 20:08; edited 1 time in total |
|||
22 Aug 2013, 15:23 |
|
cod3b453 22 Aug 2013, 20:07
You might have better luck using a Windows debugger either in Windows (virtual machine maybe) or using wine on linux. As it's 32bit you'll have more options too, as there are more older analysis tools around.
|
|||
22 Aug 2013, 20:07 |
|
TmX 23 Aug 2013, 02:15
HaHaAnonymous wrote: A newbie can learn without debuggers. When we learn programming at the university at for the first time, we didn't thaught how to use debugger. So we put print statements here and there while manually reading portions of the code. Then we ran the code and examined the output. Sure, we then realized that debuggers make our jobs easier. But sometimes we are lazy. No wonder this primitive debugging technique is still being used. |
|||
23 Aug 2013, 02:15 |
|
Fixit 23 Aug 2013, 03:07
Since the code was malicious, I did not want to examine it using Windows.
I was able to get Windows installed into a Virtual box. Now I can safely dissect it without any harm to my system. I submitted it to virustotal and they mis-identified it. They list the names that other companies gave the malware, so I conclude that they all got it wrong. Gotta go back to my bug hunting. |
|||
23 Aug 2013, 03:07 |
|
dogman 23 Aug 2013, 13:57
I do a lot of work without debuggers (not on Linux) in assembler (not on Intel).
If you have trace and dumps it's also fine. But not having anything? You can't be productive and you can't possibly write any serious code without tools like dumps, traces, and debuggers. Because you really need to verify that each section of code is doing exactly what you want and not that you just got lucky and it looks like everything worked. On Linux netbeans is ok, at least you get a GUI for gdb. |
|||
23 Aug 2013, 13:57 |
|
TmX 23 Aug 2013, 15:31
@Fixit
Have you tried Evan's Debugger? Ollydbg is very popular among among Windows folks, and I think that's the closest one available for Linux. |
|||
23 Aug 2013, 15:31 |
|
HaHaAnonymous 23 Aug 2013, 20:55
[ Post removed by author. ]
Last edited by HaHaAnonymous on 28 Feb 2015, 20:08; edited 1 time in total |
|||
23 Aug 2013, 20:55 |
|
Endre 24 Aug 2013, 14:52
Quote: I use even more primitive techniques. As you wish. In embedded world your method just does not work at all. For instance because there is no display to print out anything on. Or because you have to check/modify 200 registers of a SOC (System On a Chip) peripheral to figure out why your driver doesn't want to work. Sometimes such a task is very hard even with a well working debugger. But if you're about to write a hobby operating system to your x86/amd64 processor then you will face the very similar problems I described above. |
|||
24 Aug 2013, 14:52 |
|
HaHaAnonymous 24 Aug 2013, 18:13
[ Post removed by author. ]
Last edited by HaHaAnonymous on 28 Feb 2015, 20:03; edited 1 time in total |
|||
24 Aug 2013, 18:13 |
|
Fixit 25 Aug 2013, 03:43
You might want to re read my post.
<Today debuggers are too sophisticated. And I doubt very much they will be <available in an emergency case (e.g.: my paranoid reasons). Too sophisticated, hmmm. I would recommend a counselor. They can help you with your thinking patterns and help you feel more at peace. Laterz. |
|||
25 Aug 2013, 03:43 |
|
Endre 25 Aug 2013, 16:07
It's like when you crash with your bicycle and you notice that somebody has seen it, and then you just say: "Hey, what do you see? I get off the bike like this" .
Ok, just kidding. The debugger running on the human hardware is very important and useful. Even if you learn your code by heart you can use this technique when your computer is just not around you. |
|||
25 Aug 2013, 16:07 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.