2
0
Fork 0
mirror of https://github.com/ii64/sonic.git synced 2026-06-21 00:46:43 +08:00
sonic/decoder
Yi Duan 22229eefc3
fix: relocate stack pointers (#156)
* fix: relocate stack pointer _VAR_sv to keep it alive

* fix: add stack pointer _VAR_vk to defend `encoding.TextUnmarshaler`

* fix: align faker func's stack with JIT func's

* fix: clear _Stack memory when err returned

* fix: clear stack pointer before return

* fix: relimit stack-overflow check at `_ValueDecoder`

Co-authored-by: duanyi.aster <duanyi.aster@bytedance.com>
2021-12-20 16:19:12 +08:00
..
asm.s feat: rewrite generic decoder in Go, using Finite State Machine 2021-06-16 23:05:21 +08:00
assembler_amd64_go115.go fix: relocate stack pointers (#156) 2021-12-20 16:19:12 +08:00
assembler_amd64_go116.go fix: relocate stack pointers (#156) 2021-12-20 16:19:12 +08:00
assembler_amd64_go117.go fix: relocate stack pointers (#156) 2021-12-20 16:19:12 +08:00
assembler_test.go fix: relocate stack pointers (#156) 2021-12-20 16:19:12 +08:00
compiler.go fix: 'string' option in struct tag as encoding/json (#148) 2021-12-03 15:46:09 +08:00
compiler_test.go feat: Pretouch recursively for large/deep struct (#137) 2021-11-26 14:12:51 +08:00
debug.go feat: adjust ABI for supporting go1.17 (#116) 2021-11-30 18:47:17 +08:00
decoder.go fix: relocate stack pointers (#156) 2021-12-20 16:19:12 +08:00
decoder_test.go fix: relocate stack pointers (#156) 2021-12-20 16:19:12 +08:00
errors.go feat: SyntaxError.Error() always calls Description() (#152) 2021-12-09 13:11:31 +08:00
errors_test.go feat: SyntaxError.Error() always calls Description() (#152) 2021-12-09 13:11:31 +08:00
generic_amd64_go115.go fix: relocate stack pointers (#156) 2021-12-20 16:19:12 +08:00
generic_amd64_go116.go fix: relocate stack pointers (#156) 2021-12-20 16:19:12 +08:00
generic_amd64_go117.go fix: relocate stack pointers (#156) 2021-12-20 16:19:12 +08:00
generic_amd64_go117_test.s feat: adjust ABI for supporting go1.17 (#116) 2021-11-30 18:47:17 +08:00
generic_amd64_test.s feat: adjust ABI for supporting go1.17 (#116) 2021-11-30 18:47:17 +08:00
generic_test.go feat: adjust ABI for supporting go1.17 (#116) 2021-11-30 18:47:17 +08:00
pools.go fix: relocate stack pointers (#156) 2021-12-20 16:19:12 +08:00
primitives.go fix: relocate stack pointers (#156) 2021-12-20 16:19:12 +08:00
stubs.go fix: use global var _KeepAlive to notice GC in shadow funcs (#145) 2021-12-02 11:08:40 +08:00
testdata_test.go chore: make it open-source 2021-05-28 23:58:58 +08:00
types.go chore: make it open-source 2021-05-28 23:58:58 +08:00
utils.go feat: rewrite the generic decoder in assembly 2021-06-21 11:34:18 +08:00