[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How much do we care about undefined behavior triggered by invalid by
From: |
Noam Postavsky |
Subject: |
Re: How much do we care about undefined behavior triggered by invalid bytecode? |
Date: |
Tue, 22 May 2018 09:42:38 -0400 |
On 22 May 2018 at 09:31, Philipp Stephani <address@hidden> wrote:
> It's pretty easy to find examples of (printed representations of) invalid
> bytecode that trigger C-level assertions or undefined behavior ("crashes").
> Should these be reported as bugs, or do we assume that any bytecode object
> is valid?
The latter, according to the manual (elisp) Byte-Code Objects:
You should not try to come up with the elements for a byte-code
function yourself, because if they are inconsistent, Emacs may crash
when you call the function. Always leave it to the byte compiler to
create these objects; it makes the elements consistent (we hope).
- How much do we care about undefined behavior triggered by invalid bytecode?, Philipp Stephani, 2018/05/22
- Re: How much do we care about undefined behavior triggered by invalid bytecode?,
Noam Postavsky <=
- Re: How much do we care about undefined behavior triggered by invalid bytecode?, Andreas Schwab, 2018/05/22
- Re: How much do we care about undefined behavior triggered by invalid bytecode?, Philipp Stephani, 2018/05/22
- Re: How much do we care about undefined behavior triggered by invalid bytecode?, Noam Postavsky, 2018/05/22
- Re: How much do we care about undefined behavior triggered by invalid bytecode?, Paul Eggert, 2018/05/22
- Re: How much do we care about undefined behavior triggered by invalid bytecode?, Philipp Stephani, 2018/05/22
- Re: How much do we care about undefined behavior triggered by invalid bytecode?, Tom Tromey, 2018/05/24
- Re: How much do we care about undefined behavior triggered by invalid bytecode?, Philipp Stephani, 2018/05/22