[Bug 1886097] Re: Error in user-mode calculation of ELF program's brk

2021-05-07 Thread Langston
** Changed in: qemu Status: Incomplete => New -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1886097 Title: Error in user-mode calculation of ELF program's brk Status in QEMU: New Bug des

[Bug 1885332] Re: Error in user-mode calculation of ELF aux vector's AT_PHDR

2021-05-07 Thread Langston
0 0x9 = 0x101b8 0xb = 0x0 0xc = 0x0 0xd = 0x0 0xe = 0x0 0x17 = 0x0 0x19 = 0xbec62fb5 However, if I run "qemu-arm -g 12345 binary" and use GDB to peek at the aux vector at the beginning of __libc_start_init (for example, using this Python GDB API script: https://

[Bug 1885332] Re: Error in user-mode calculation of ELF aux vector's AT_PHDR

2020-07-10 Thread Langston
y modified for your program), when connecting to QEMU's GDB server? https://gist.github.com/langston-barrett/5573d64ae0c9953e2fa0fe26847a5e1e -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1885332 Ti

[Bug 1886097] [NEW] Error in user-mode calculation of ELF program's brk

2020-07-02 Thread Langston
Public bug reported: There's a discrepancy between the way QEMU user-mode and Linux calculate the initial program break for statically-linked binaries. I have a binary with the following segments: Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align E

[Bug 1885332] Re: Error in user-mode calculation of ELF aux vector's AT_PHDR

2020-06-29 Thread Langston
0x0 0x8 = 0x0 0x9 = 0x101b8 0xb = 0x0 0xc = 0x0 0xd = 0x0 0xe = 0x0 0x17 = 0x0 0x19 = 0xbec62fb5 However, if I run "qemu-arm -g 12345 binary" and use GDB to peek at the aux vector at the beginning of __libc_start_init (for example, using this Python GDB

[Bug 1885332] Re: Error in user-mode calculation of ELF aux vector's AT_PHDR

2020-06-26 Thread Langston
quot; and use GDB to peek at the aux vector at the beginning of __libc_start_init (for example, using this Python GDB API script: https://gist.github.com/langston- barrett/5573d64ae0c9953e2fa0fe26847a5e1e), then I see the following values: AT_PHDR = 0xae000 AT_PHENT = 0x20 AT_PHN

[Bug 1885332] [NEW] Error in user-mode calculation of ELF aux vector's AT_PHDR

2020-06-26 Thread Langston
"qemu-arm -g 12345 binary" and use GDB to peek at the aux vector at the beginning of __libc_start_init (for example, using this Python GDB API script: https://gist.github.com/langston- barrett/5573d64ae0c9953e2fa0fe26847a5e1e), then I see the following values: AT_PHDR = 0xae000 AT_