summaryrefslogtreecommitdiffstats
path: root/generic/tclDisassemble.c
Commit message (Collapse)AuthorAgeFilesLines
* [50750c735a] Fix broken test and stop reading uninit-but-allocated memory in ↵dkf2017-04-271-18/+16
|\ | | | | | | zlib channel transform.
| * A better way of getting source file location information when disassembling.dkf2017-04-221-18/+16
| |
* | Since Tcl_AppendPrintfToObj() now understands the %p format, we can use it. ↵jan.nijtmans2017-03-311-8/+4
| | | | | | | | Eliminating some internal string buffers.
* | Partially backout [ef4da65408] because AppendPrintfToObjVA() (used ↵andy2016-11-241-2/+2
| | | | | | | | indirectly by [tcl::unsupported::disassemble]) does not yet support wide and bignum arguments. This fixes a SIGSEGV in compile.test and makes [disassemble] work again.
* | More internal use of size_t in stead of int.jan.nijtmans2016-11-211-2/+2
| |
* | Micro-optimization: Use TclGetStringFromObj in stead of Tcl_GetStringFromObj ↵jan.nijtmans2016-07-081-2/+2
|/ | | | in many places where possible.
* Add ability to disassemble TclOO constructors and destructors ([1493a43044] ↵dkf2016-07-041-1/+134
| | | | motivates)
* Make function TclDisassembleByteCodeObj() static, since it is only used in a ↵jan.nijtmans2016-01-181-6/+8
| | | | single source file.
* Put the file location information that Tcl has into the disassembled code. ↵dkf2016-01-181-9/+90
| | | | Important for tclquadcode.
* Fix surrogate handling in PrintSourceToObj(), differenciating for ↵jan.nijtmans2015-10-071-2/+13
| | | | TCL_UTF_MAX = 6 (androwish) and TCL_UTF_MAX = 4 (tip-389-impl). No effect when TCL_UTF_MAX = 3.
* Some Unicode encoding fixes, only having effect if TCL_UTF_MAX > 4. ↵jan.nijtmans2015-08-311-1/+7
| | | | Backported from androwish
* Put the ellipsis inside, not outside, the close quote.dgp2015-06-031-1/+1
|
* Tidy things up a bit more.dkf_improved_disassemblerdkf2014-09-201-4/+13
|
* whitespace tweakdkf2014-09-141-0/+2
|
* merge trunkdkf2014-02-041-4/+22
|
* merge trunkdkf2014-02-031-0/+11
|
* Properly encode more operand types to reduce the number of special cases in ↵dkf2013-06-201-74/+90
| | | | the disassembler.
* Remove extra scribblings not normally needed. Thanks to jdc for suggestion.dkf2013-06-171-2/+2
|
* Improved rendering of some opcode arguments and auxdata.dkf2013-06-131-8/+28
|
* Extract more of the info from the bytecode.dkf2013-06-121-5/+60
|
* Code-readable disassembler: tcl::unsupported::getbytecodedkf2013-06-111-2/+229
|
* Move the disassembler to its own file.dkf2013-06-111-0/+1045