[Bug gdb/34288] gdb accepts invalid DW_OP_bra / DW_OP_skip branch targets

simark at simark dot ca via Gdb-prs <[email protected]>
Newsgroups gmane.comp.gdb.bugs.discuss
Message-ID <[email protected]/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=34288

Simon Marchi <simark at simark dot ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |simark at simark dot ca

--- Comment #3 from Simon Marchi <simark at simark dot ca> ---
Jumping outside of the expression buffer sounds bad, and it would be easy to
fix with a bounds check.

Detecting whether the expression jumps in the middle of an instruction, I think
it would be more difficult and not as important.  If the expression is buggy,
well, it will yield bogus results.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.