Skip to content
Commit 429f0cd1 authored by Jan Vrany's avatar Jan Vrany
Browse files

gdb/testsuite: add test for Python commands redefining itself



This commit adds a test that creates a Python command that redefines
itself during its execution. This is to test use-after-free in
execute_command ().

This test needs run with ASan enabled in order to fail when it
should.

Approved-By: default avatarSimon Marchi <simon.marchi@efficios.com>
parent d88cb738
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment