[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Regexp bytecode disassembler
From: |
Mattias Engdegård |
Subject: |
Regexp bytecode disassembler |
Date: |
Fri, 20 Mar 2020 13:27:35 +0100 |
It is sometimes useful to inspect the generated regexp engine bytecode, but
doing so currently involves recompiling with REGEX_EMACS_DEBUG configured,
setting an internal variable using a debugger, and watching data scrolling past
on stderr.
This patch adds a lisp-based regexp bytecode disassembler which is always
available without any runtime cost to the regexp engine. It is mainly a tool
for maintainers but curious users may find it useful as well. It has already
revealed one bug in the regexp compiler, now fixed (f189e5dc10).
Any objections against it being added (to master)?
0001-Add-regexp-bytecode-disassembler.patch
Description: Binary data
- Regexp bytecode disassembler,
Mattias Engdegård <=
- Re: Regexp bytecode disassembler, Andreas Schwab, 2020/03/20
- Re: Regexp bytecode disassembler, Eli Zaretskii, 2020/03/20
- Re: Regexp bytecode disassembler, Mattias Engdegård, 2020/03/21
- Re: Regexp bytecode disassembler, Eli Zaretskii, 2020/03/21
- Re: Regexp bytecode disassembler, Štěpán Němec, 2020/03/21
- Re: Regexp bytecode disassembler, Eli Zaretskii, 2020/03/21
- Re: Regexp bytecode disassembler, Štěpán Němec, 2020/03/21
- Re: Regexp bytecode disassembler, Eli Zaretskii, 2020/03/22
- Re: Regexp bytecode disassembler, Štěpán Němec, 2020/03/22
- Re: Regexp bytecode disassembler, Eli Zaretskii, 2020/03/22