bst365体育投注网址大全

Questions tagged [gdb]

Use this tag for problems related to or involving GDB, the standard debugger for the GNU software system.

Filter by
Sorted by
Tagged with
1
vote
1answer
22 views

ret2libc attack doesn't spawn shell

I performed ret2libc.Everything worked fine but the shell is not spawned.The source code is #include<stdio.h> #include<stdlib.h> #include<string.h> void get() { char buf[10]; ...
0
votes
0answers
16 views

How to install GNU C Compiler tools

I need to install GNU C compiler tools provided and supported by ST such as sh4gdb and sh4gcc. I am already install binutils. but when I type the command sh4gdb on terminal it show me that it cant ...
-1
votes
0answers
24 views

Bomb lab phase_4 , func4

I am trying to understand the following code. I have no idea how func4() is working here. Check the following lines: 0x00000000004010c4 <+0>: sub $0x18,%rsp 0x00000000004010c8 <+...
0
votes
0answers
12 views

Buffer Overflow Exploits in Ubuntu, trying to fill in with memory location other than “\x00” lead SIGABRT

I have been trying a simple C code to test Buffer Overflow attacks in Ubuntu #include <stdio.h> #include <string.h> int main (int argc, char **argv) { char buffer[500]; strcpy(...
0
votes
1answer
7 views

vscode remote debugging console always prints “Cannot evaluate expression on the specified stack frame.”

While debugging in vscode there appears to be a gdb console at the bottom. Currently I'm remotely connecting to gdbserver and able to pause on a breakpoint. I'd like to be able to type gdb commands ...
0
votes
0answers
19 views

gdb, C++, codelite: wrong line numbers while debugging shared lib

My issue is similar to this: GCC debugger stack trace displays wrong file name and line number More precisely: I'm using codelite 14 gdb (Ubuntu 8.2-0ubuntu1~16.04.1) 8.2 gcc (Ubuntu 5.5.0-12ubuntu1~...
-1
votes
0answers
11 views

Static memory with gdb

I'm working on a project and I've been completely stuck for a few days. I have a dynamic memory address and my goal is to be able to get this address statically. Do you know if it is possible to get ...
0
votes
0answers
13 views

Finding the current memchunk in gdb

Assuming an Aarch64 Linux environment, a C++ application with memory allocation by glibc and malloc. Given a virtual address in gdb is there a trick on how can I find the start and metadata (length ...
0
votes
0answers
17 views

GDB exited unexpectedly when debugging with vscode

I'm using vscode on Windows, and use mingw-w64 as compiler. my test code are as follows: vector<string> words = {"SEND", "MORE"}; string result = "MONEY"; when I ...
0
votes
1answer
45 views

Debug stm32 nucleo using gdb

how can I debug STM32 board using gdb without stlink or any other device. actually I am trying to design an equipment which can replace the STMC device, since ST was stopped making this devices
0
votes
0answers
40 views

Intel Pin GDB Runtime Overhead

I am running a Python gdb script on a program that runs with a Pintool. Specifically, I used the -appdebug_enable switch and created a semantic breakpoint in the Pintool that automatically triggers ...
2
votes
0answers
19 views

Is there a gdb python API for 'info symbol'?

I'm trying to use info symbol $frameptr but in a gdb script. Is there an equivalent in the gdb python API?
0
votes
0answers
18 views

arm-none-eabi-gdb on stm32: warning: unrecognized item “timeout” in “qSupported” response

I'm using the command-line to do my stm32 development. CubeIDE and Atom are too heavyweight for the specs of my machine. I compile an elf and bin file with debug support and upload the bin to the ...
0
votes
0answers
10 views

GEF keeps giving UnicodeEncodeError's, even with LANG set to en_US.UTF-8

Ive recently installed GEF - GDB enhanced features. When I run GDB and then try to use any command from GEF, it succesfully does the command, but afterward gives a python error Python Exception <...
0
votes
1answer
75 views

ret2libc segfault at address 0x0000000000000000

I performed ret2libc but ended in segfault in 0x0000000000000000. The vulnerable proagram is #include<stdio.h> #include<stdlib.h> #include<string.h> void get() { char buf[10]; ...

15 30 50 per page
1
2 3 4 5
632