micropython/tools
Damien George b29fae0c56 py/bc: Fix size calculation of UNWIND_JUMP opcode in mp_opcode_format.
Prior to this patch mp_opcode_format would calculate the incorrect size of
the MP_BC_UNWIND_JUMP opcode, missing the additional byte.  But, because
opcodes below 0x10 are unused and treated as bytes in the .mpy load/save
and freezing code, this bug did not show any symptoms, since nested unwind
jumps would rarely (if ever) reach a depth of 16 (so the extra byte of this
opcode would be between 0x01 and 0x0f and be correctly loaded/saved/frozen
simply as an undefined opcode).

This patch fixes this bug by correctly accounting for the additional byte.
        .
2019-09-02 13:30:16 +10:00
..
.gitattributes
.gitignore
bootstrap_upip.sh
build-stm-latest.sh
cc1
check_code_size.sh
codestats.sh
dfu.py
file2h.py
gen-changelog.sh
gen-cpydiff.py
gendoc.py
insert-usb-ids.py
make-frozen.py
mpy-tool.py py/bc: Fix size calculation of UNWIND_JUMP opcode in mp_opcode_format. 2019-09-02 13:30:16 +10:00
mpy_bin2res.py
mpy_cross_all.py
pyboard.py tools/pyboard.py: Add filesystem commands to ls/cat/cp/rm remote files. 2019-07-25 15:56:01 +10:00
pydfu.py
tinytest-codegen.py tests: Add tests for sys.settrace feature. 2019-08-30 16:48:22 +10:00
uf2conv.py tools: Add uf2conv.py from Microsoft/uf2 repository. 2019-07-01 17:18:44 +10:00
upip.py tools/upip.py: Add support for multiple index URLs with custom default. 2019-05-15 15:46:16 +10:00
upip_utarfile.py