kdbg installation and use tutorial (kali)

1. Background Description

The so-called debugger is mainly to set breakpoints and observe variables. It is not too complicated and does not need too complicated tools.

But specifically for the Linux platform, it is not impossible for gdb to type a few more commands, but a large screen prints a bunch of things that are messy and incomplete, so it is better to use a graphical interface.

kdbg is a graphical interface debugger for the Linux platform. To be more precise, kdbg is not a debugger but a front-end graphical interface of gdb, and gdb is called later.

(So ​​to use kdbg, you must first install gbd, gdb is installed with gcc, so you should have gcc installed)

 

Second, kdbg installation

apt-get install -y kdbg

The debina class can be installed directly. For other installations, see the link

 

3. Use of kdbg

3.1 Start kdbg

The terminal can directly execute kdbg

 

3.2 Load the program for debugging

Directly click the "Executable" button to load the executable file, and then you can perform debugging such as breaking (Open Source can only check the source code and cannot break and run)

 

 refer to:

http://www.kdbg.org/manual/

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325858821&siteId=291194637