1
0
mirror of https://github.com/golang/go synced 2024-10-02 10:28:34 -06:00
go/src/pkg/runtime
Nick Craig-Wood f8fd77baa9 runtime: Stop arm memmove corrupting its parameters
Change use of x+(SP) to access the stack frame into x-(SP)

Fixes #5925.

R=golang-dev, bradfitz, dave, remyoudompheng, nick, rsc
CC=dave cheney <dave, golang-dev
https://golang.org/cl/11647043
2013-07-23 09:29:25 +10:00
..
cgo cmd/5a, cmd/dist, runtime: support m/g in the assembler, drop support for R9/R10 2013-05-30 03:03:52 +08:00
debug runtime, runtime/debug, runtime/race: deflake tests 2013-04-07 11:37:37 -07:00
pprof runtime/pprof: disable testing under race detector 2013-06-24 23:51:00 +04:00
race cmd/gc: fix race detector instrumentation of type switches. 2013-07-16 09:04:20 +02:00
alg.c runtime: Implement faster equals for strings and bytes. 2013-04-02 16:26:15 -07:00
append_test.go runtime: benchmark for appending N bytes should not append N² bytes. 2013-03-02 21:11:05 +01:00
arch_386.h runtime: use new frame argument size information 2013-07-17 12:47:18 -04:00
arch_amd64.h runtime: use new frame argument size information 2013-07-17 12:47:18 -04:00
arch_arm.h runtime: use new frame argument size information 2013-07-17 12:47:18 -04:00
asm_386.s runtime: handle morestack/lessstack in stack trace 2013-07-18 16:53:45 -04:00
asm_amd64.s runtime: handle morestack/lessstack in stack trace 2013-07-18 16:53:45 -04:00
asm_arm.s runtime: handle morestack/lessstack in stack trace 2013-07-18 16:53:45 -04:00
atomic_386.c runtime: fix 386 build after cas64 change 2013-07-12 00:42:46 -04:00
atomic_amd64.c
atomic_arm.c runtime: make cas64 like cas32 and casp 2013-07-12 00:03:32 -04:00
callback_windows.c runtime: do not generate code during runtime in windows NewCallback 2013-06-24 17:17:45 +10:00
cgocall.c runtime: detect deadlocks in programs using cgo 2013-05-22 22:57:47 +04:00
cgocall.h
chan_test.go
chan.c runtime: allow stack split in body of closechan 2013-07-22 20:47:39 +04:00
closure_test.go
compiler.go
complex_test.go
complex.c
cpuprof.c runtime: introduce notetsleepg function 2013-07-22 23:02:27 +04:00
crash_cgo_test.go cmd/go: fix "go run" cgo source when cgo is disabled 2013-02-28 16:07:26 +08:00
crash_test.go runtime: introduce GODEBUG env var 2013-06-28 18:37:06 +04:00
debug.go
defs1_linux.go
defs2_linux.go runtime: integrated network poller for linux 2013-03-14 19:06:35 +04:00
defs_arm_linux.go
defs_darwin_386.h runtime: integrated network poller for darwin 2013-03-14 10:38:37 +04:00
defs_darwin_amd64.h runtime: integrated network poller for darwin 2013-03-14 10:38:37 +04:00
defs_darwin.go runtime: integrated network poller for darwin 2013-03-14 10:38:37 +04:00
defs_freebsd_386.h runtime: integrated network poller for freebsd/amd64,386, openbsd/amd64,386 2013-05-20 19:25:32 +09:00
defs_freebsd_amd64.h runtime: integrated network poller for freebsd/amd64,386, openbsd/amd64,386 2013-05-20 19:25:32 +09:00
defs_freebsd_arm.h runtime: use UMTX_OP_WAIT_UINT on FreeBSD 2013-04-12 05:20:15 -07:00
defs_freebsd.go runtime: integrated network poller for freebsd/amd64,386, openbsd/amd64,386 2013-05-20 19:25:32 +09:00
defs_linux_386.h runtime: integrated network poller for linux 2013-03-14 19:06:35 +04:00
defs_linux_amd64.h runtime: integrated network poller for linux 2013-03-14 19:06:35 +04:00
defs_linux_arm.h net, runtime: enable runtime-integrated pollster on Linux/ARM. 2013-03-16 04:01:56 +08:00
defs_linux.go runtime: integrated network poller for linux 2013-03-14 19:06:35 +04:00
defs_netbsd_386.go runtime: fix build for NetBSD/ARM 2013-03-19 02:47:04 +08:00
defs_netbsd_386.h
defs_netbsd_amd64.go runtime: fix build for NetBSD/ARM 2013-03-19 02:47:04 +08:00
defs_netbsd_amd64.h
defs_netbsd_arm.go runtime: fix build for NetBSD/ARM 2013-03-19 02:47:04 +08:00
defs_netbsd_arm.h runtime: fix build for NetBSD/ARM 2013-03-19 02:47:04 +08:00
defs_netbsd.go runtime: fix build for NetBSD/ARM 2013-03-19 02:47:04 +08:00
defs_openbsd_386.h runtime: integrated network poller for freebsd/amd64,386, openbsd/amd64,386 2013-05-20 19:25:32 +09:00
defs_openbsd_amd64.h runtime: integrated network poller for freebsd/amd64,386, openbsd/amd64,386 2013-05-20 19:25:32 +09:00
defs_openbsd.go runtime: integrated network poller for freebsd/amd64,386, openbsd/amd64,386 2013-05-20 19:25:32 +09:00
defs_plan9_386.h runtime: add support for panic/recover in Plan 9 note handler 2013-01-30 02:53:56 -08:00
defs_plan9_amd64.h runtime: add support for panic/recover in Plan 9 note handler 2013-01-30 02:53:56 -08:00
defs_windows_386.h net: implement netpoll for windows 2013-07-22 12:49:57 +10:00
defs_windows_amd64.h net: implement netpoll for windows 2013-07-22 12:49:57 +10:00
defs_windows.go net: implement netpoll for windows 2013-07-22 12:49:57 +10:00
env_plan9.c runtime: Fix plan9 aes hash initialization. 2013-03-12 11:03:16 -07:00
env_posix.c runtime/cgo: make symbol naming consistent 2013-02-28 16:24:38 -05:00
error.go
export_futex_test.go runtime: fix tv_sec 32-bit overflows in sleep routines. 2013-03-18 20:11:11 +01:00
export_test.go runtime: implement local work queues (in preparation for new scheduler) 2013-02-23 08:48:02 +04:00
extern.go cmd/ld, runtime: new in-memory symbol table format 2013-07-16 09:41:38 -04:00
float.c
funcdata.h runtime: use funcdata to supply garbage collection information 2013-07-19 16:04:09 -04:00
futex_test.go runtime: fix tv_sec 32-bit overflows in sleep routines. 2013-03-18 20:11:11 +01:00
gc_test.go runtime: fix heap corruption during GC 2013-05-28 19:17:47 +04:00
hashmap_fast.c runtime: shorten hash lookup stack frames 2013-06-28 13:37:07 -07:00
hashmap.c runtime: minor cleanup of hashmap code 2013-07-16 19:51:18 +04:00
hashmap.h runtime: faster hashmap implementation. 2013-03-20 13:51:29 -07:00
iface_test.go
iface.c runtime: use persistentalloc instead of mallocgc for itab 2013-06-09 21:58:35 +04:00
lfstack_test.go
lfstack.c runtime: make cas64 like cas32 and casp 2013-07-12 00:03:32 -04:00
lock_futex.c runtime: introduce notetsleepg function 2013-07-22 23:02:27 +04:00
lock_sema.c runtime: introduce notetsleepg function 2013-07-22 23:02:27 +04:00
Makefile
malloc1.go
malloc_test.go runtime: add simple malloc benchmarks 2013-05-15 21:22:32 +04:00
malloc.goc runtime: hide mheap from GC 2013-07-19 17:47:40 +04:00
malloc.h runtime: use persistentalloc instead of SysAlloc in FixAlloc 2013-06-10 09:20:27 +04:00
mallocrand.go
mallocrep1.go
mallocrep.go
map_test.go runtime: fix race on hashmap flags field 2013-04-07 18:19:16 -07:00
mapspeed_test.go runtime: faster range on empty map 2013-05-23 14:17:52 -07:00
mcache.c runtime: speedup malloc stats collection 2013-06-06 14:56:50 +04:00
mcentral.c runtime: make mheap statically allocated again 2013-05-28 22:14:47 +04:00
mem_darwin.c runtime: correct return value checks for mmap on darwin/freebsd 2013-03-23 02:17:01 +11:00
mem_freebsd.c runtime: correct return value checks for mmap on darwin/freebsd 2013-03-23 02:17:01 +11:00
mem_linux.c runtime: fix one-time memory leak on linux 2013-06-10 22:59:39 +04:00
mem_netbsd.c runtime: improve mmap return value checking for netbsd/openbsd 2013-03-23 02:15:52 +11:00
mem_openbsd.c runtime: improve mmap return value checking for netbsd/openbsd 2013-03-23 02:15:52 +11:00
mem_plan9.c
mem_windows.c runtime: do not mark os memory as executable on windows 2013-06-25 17:20:14 +10:00
mem.go
memclr_arm.s runtime: record argument size in assembly functions 2013-07-16 16:24:09 -04:00
memmove_386.s runtime: record argument size in assembly functions 2013-07-16 16:24:09 -04:00
memmove_amd64.s runtime: record argument size in assembly functions 2013-07-16 16:24:09 -04:00
memmove_arm.s runtime: Stop arm memmove corrupting its parameters 2013-07-23 09:29:25 +10:00
memmove_linux_amd64_test.go runtime: fix integer overflow in amd64 memmove. 2013-03-09 00:41:03 +01:00
memmove_test.go runtime: faster x86 memmove (a.k.a. built-in copy()) 2013-05-17 12:53:49 -07:00
mfinal_test.go
mfinal.c cmd/gc, reflect, runtime: switch to indirect func value representation 2013-02-21 17:01:13 -05:00
mfixalloc.c runtime: use persistentalloc instead of SysAlloc in FixAlloc 2013-06-10 09:20:27 +04:00
mgc0.c runtime: use funcdata to supply garbage collection information 2013-07-19 16:04:09 -04:00
mgc0.go runtime: interpret type information during garbage collection 2013-01-10 15:45:46 -05:00
mgc0.h reflect: add garbage collection info in ChanOf, MapOf, PtrTo, SliceOf 2013-03-26 11:50:29 -07:00
mheap.c runtime: introduce notetsleepg function 2013-07-22 23:02:27 +04:00
mprof.goc runtime: record proper goroutine state during stack split 2013-06-27 11:32:01 -04:00
msize.c runtime: transfer whole span from MCentral to MCache 2013-05-15 18:35:05 +04:00
netpoll_epoll.c runtime: change PollDesc.fd from int32 to uintptr 2013-05-20 12:55:50 +10:00
netpoll_kqueue.c runtime: fix runtime·netpoll() to call runtime·netpollready() only once per event. 2013-05-28 05:03:10 +08:00
netpoll_stub.c net: implement netpoll for windows 2013-07-22 12:49:57 +10:00
netpoll_windows.c net: implement netpoll for windows 2013-07-22 12:49:57 +10:00
netpoll.goc net: implement netpoll for windows 2013-07-22 12:49:57 +10:00
noasm_arm.goc runtime/bytes: fast Compare for byte arrays and strings. 2013-05-14 16:05:51 -07:00
os_darwin.c runtime: correctly handle signals received on foreign threads 2013-07-12 04:39:39 +08:00
os_darwin.h runtime: refactor os-specific code 2013-03-14 11:35:13 -07:00
os_freebsd_arm.c runtime: refactor os-specific code 2013-03-14 11:35:13 -07:00
os_freebsd.c runtime: correctly handle signals received on foreign threads 2013-07-12 04:39:39 +08:00
os_freebsd.h runtime: add missing copyright 2013-03-20 02:40:29 +09:00
os_linux_386.c runtime: refactor os-specific code 2013-03-14 11:35:13 -07:00
os_linux_arm.c runtime: refactor os-specific code 2013-03-14 11:35:13 -07:00
os_linux.c runtime: correctly handle signals received on foreign threads 2013-07-12 04:39:39 +08:00
os_linux.h runtime: refactor os-specific code 2013-03-14 11:35:13 -07:00
os_netbsd_386.c runtime: refactor os-specific code 2013-03-14 11:35:13 -07:00
os_netbsd_amd64.c runtime: refactor os-specific code 2013-03-14 11:35:13 -07:00
os_netbsd_arm.c runtime: fix build for NetBSD/ARM 2013-03-19 02:47:04 +08:00
os_netbsd.c runtime: correctly handle signals received on foreign threads 2013-07-12 04:39:39 +08:00
os_netbsd.h runtime: fix netbsd again after reorg 2013-03-14 17:53:01 -04:00
os_openbsd.c runtime: correctly handle signals received on foreign threads 2013-07-12 04:39:39 +08:00
os_openbsd.h runtime: refactor os-specific code 2013-03-14 11:35:13 -07:00
os_plan9_386.c runtime: record proper goroutine state during stack split 2013-06-27 11:32:01 -04:00
os_plan9_amd64.c runtime: record proper goroutine state during stack split 2013-06-27 11:32:01 -04:00
os_plan9.c runtime: correctly handle signals received on foreign threads 2013-07-12 04:39:39 +08:00
os_plan9.h runtime: refactor os-specific code 2013-03-14 11:35:13 -07:00
os_windows_386.c runtime: fix plan9, windows builds 2013-06-12 09:41:29 -04:00
os_windows_amd64.c runtime: fix plan9, windows builds 2013-06-12 09:41:29 -04:00
os_windows.c runtime: switch to os stack in windows osyield and usleep 2013-07-16 12:36:05 +10:00
os_windows.h runtime: allow cgo callbacks on non-Go threads 2013-02-20 17:48:23 -05:00
panic.c runtime: disable preemption during deferreturn 2013-07-18 12:26:47 -04:00
parfor_test.go runtime: avoid closure in parfor test 2013-02-22 12:11:12 -05:00
parfor.c runtime: make cas64 like cas32 and casp 2013-07-12 00:03:32 -04:00
print.c runtime: add conversion specifier to printf for char values 2013-02-19 18:05:44 -08:00
proc_test.go runtime: preempt long-running goroutines 2013-07-19 01:22:26 +04:00
proc.c runtime: add a missing newline in a debug printf. 2013-07-22 12:42:42 +10:00
proc.p
race0.c runtime/race: remove now unused step parameter from range access functions 2013-06-13 16:38:44 +04:00
race_amd64.s runtime: record argument size in assembly functions 2013-07-16 16:24:09 -04:00
race.c cmd/gc: instrument arrays properly in race detector. 2013-06-14 11:14:45 +02:00
race.go runtime/race: tell race detector what memory Read/Write syscalls touch 2013-06-10 22:40:35 +04:00
race.h runtime/race: remove now unused step parameter from range access functions 2013-06-13 16:38:44 +04:00
rt0_darwin_386.s runtime: rename _rt0_$GOARCH to _rt0_go 2013-06-11 16:49:24 -04:00
rt0_darwin_amd64.s runtime: rename _rt0_$GOARCH to _rt0_go 2013-06-11 16:49:24 -04:00
rt0_freebsd_386.s runtime: rename _rt0_$GOARCH to _rt0_go 2013-06-11 16:49:24 -04:00
rt0_freebsd_amd64.s runtime: rename _rt0_$GOARCH to _rt0_go 2013-06-11 16:49:24 -04:00
rt0_freebsd_arm.s runtime: rename _rt0_$GOARCH to _rt0_go 2013-06-11 16:49:24 -04:00
rt0_linux_386.s runtime: rename _rt0_$GOARCH to _rt0_go 2013-06-11 16:49:24 -04:00
rt0_linux_amd64.s runtime: rename _rt0_$GOARCH to _rt0_go 2013-06-11 16:49:24 -04:00
rt0_linux_arm.s runtime: rename _rt0_$GOARCH to _rt0_go 2013-06-11 16:49:24 -04:00
rt0_netbsd_386.s runtime: rename _rt0_$GOARCH to _rt0_go 2013-06-11 16:49:24 -04:00
rt0_netbsd_amd64.s runtime: rename _rt0_$GOARCH to _rt0_go 2013-06-11 16:49:24 -04:00
rt0_netbsd_arm.s runtime: rename _rt0_$GOARCH to _rt0_go 2013-06-11 16:49:24 -04:00
rt0_openbsd_386.s runtime: rename _rt0_$GOARCH to _rt0_go 2013-06-11 16:49:24 -04:00
rt0_openbsd_amd64.s runtime: rename _rt0_$GOARCH to _rt0_go 2013-06-11 16:49:24 -04:00
rt0_plan9_386.s runtime: rename _rt0_$GOARCH to _rt0_go 2013-06-11 16:49:24 -04:00
rt0_plan9_amd64.s runtime: rename _rt0_$GOARCH to _rt0_go 2013-06-11 16:49:24 -04:00
rt0_windows_386.s runtime: rename _rt0_$GOARCH to _rt0_go 2013-06-11 16:49:24 -04:00
rt0_windows_amd64.s runtime: rename _rt0_$GOARCH to _rt0_go 2013-06-11 16:49:24 -04:00
rune.c
runtime1.goc
runtime_linux_test.go
runtime_test.go runtime: aggregate defer allocations 2012-12-22 14:54:39 -05:00
runtime-gdb.py runtime: fix gdb printing of maps 2013-03-29 11:04:07 -07:00
runtime.c cmd/ld, runtime: new in-memory symbol table format 2013-07-16 09:41:38 -04:00
runtime.h runtime: introduce notetsleepg function 2013-07-22 23:02:27 +04:00
sema.goc runtime: replace unions with structs 2013-04-06 20:02:49 -07:00
signal_386.c runtime: record proper goroutine state during stack split 2013-06-27 11:32:01 -04:00
signal_amd64.c runtime: record proper goroutine state during stack split 2013-06-27 11:32:01 -04:00
signal_arm.c runtime: record proper goroutine state during stack split 2013-06-27 11:32:01 -04:00
signal_darwin_386.h runtime: refactor os-specific code 2013-03-14 11:35:13 -07:00
signal_darwin_amd64.h runtime: refactor os-specific code 2013-03-14 11:35:13 -07:00
signal_freebsd_386.h runtime: freebsd, netbsd build fixes after reorg 2013-03-14 17:39:39 -04:00
signal_freebsd_amd64.h runtime: freebsd, netbsd build fixes after reorg 2013-03-14 17:39:39 -04:00
signal_freebsd_arm.h runtime: fix build for freebsd/arm after reorg 2013-03-14 17:50:07 -04:00
signal_linux_386.h runtime: refactor os-specific code 2013-03-14 11:35:13 -07:00
signal_linux_amd64.h runtime: refactor os-specific code 2013-03-14 11:35:13 -07:00
signal_linux_arm.h runtime, net: fix arm build 2013-03-14 19:42:25 +00:00
signal_netbsd_386.h runtime: unbreak netbsd builds 2013-03-15 11:43:43 -04:00
signal_netbsd_amd64.h runtime: unbreak netbsd builds 2013-03-15 11:43:43 -04:00
signal_netbsd_arm.h runtime: fix build for NetBSD/ARM 2013-03-19 02:47:04 +08:00
signal_openbsd_386.h runtime: fix build on openbsd/386 2013-04-15 10:20:24 -07:00
signal_openbsd_amd64.h runtime: refactor os-specific code 2013-03-14 11:35:13 -07:00
signal_unix.c runtime: accept GOTRACEBACK=crash to mean 'crash after panic' 2013-03-15 01:11:03 -04:00
signal_unix.h runtime: accept GOTRACEBACK=crash to mean 'crash after panic' 2013-03-15 01:11:03 -04:00
signals_darwin.h
signals_freebsd.h
signals_linux.h
signals_netbsd.h
signals_openbsd.h
signals_plan9.h runtime: add missing copyright 2013-03-20 02:40:29 +09:00
signals_windows.h
sigqueue.goc runtime: introduce notetsleepg function 2013-07-22 23:02:27 +04:00
slice.c runtime/race: remove now unused step parameter from range access functions 2013-06-13 16:38:44 +04:00
softfloat64_test.go
softfloat64.go
softfloat_arm.c runtime: record full frame size for arm _sfloat2 2013-07-18 12:23:38 -04:00
stack_test.go runtime: fix test for new closure representation 2013-06-17 15:41:17 +04:00
stack.c runtime: preempt long-running goroutines 2013-07-19 01:22:26 +04:00
stack.h cmd/ld: fix large stack split for preempt check 2013-07-12 12:12:56 -04:00
string_test.go runtime: Implement faster equals for strings and bytes. 2013-04-02 16:26:15 -07:00
string.goc runtime: mark concatstring as variadic (fixes 386 build) 2013-07-18 12:19:38 -04:00
symtab_test.go
symtab.c runtime: use funcdata to supply garbage collection information 2013-07-19 16:04:09 -04:00
sys_arm.c runtime: record proper goroutine state during stack split 2013-06-27 11:32:01 -04:00
sys_darwin_386.s runtime: correctly handle signals received on foreign threads 2013-07-12 04:39:39 +08:00
sys_darwin_amd64.s runtime: correctly handle signals received on foreign threads 2013-07-12 04:39:39 +08:00
sys_freebsd_386.s runtime: correctly handle signals received on foreign threads 2013-07-12 04:39:39 +08:00
sys_freebsd_amd64.s runtime: correctly handle signals received on foreign threads 2013-07-12 04:39:39 +08:00
sys_freebsd_arm.s runtime: correctly handle signals received on foreign threads 2013-07-12 04:39:39 +08:00
sys_linux_386.s runtime: correctly handle signals received on foreign threads 2013-07-12 04:39:39 +08:00
sys_linux_amd64.s runtime: correctly handle signals received on foreign threads 2013-07-12 04:39:39 +08:00
sys_linux_arm.s runtime: correctly handle signals received on foreign threads 2013-07-12 04:39:39 +08:00
sys_netbsd_386.s runtime: correctly handle signals received on foreign threads 2013-07-12 04:39:39 +08:00
sys_netbsd_amd64.s runtime: correctly handle signals received on foreign threads 2013-07-12 04:39:39 +08:00
sys_netbsd_arm.s runtime: correctly handle signals received on foreign threads 2013-07-12 04:39:39 +08:00
sys_openbsd_386.s runtime: correctly handle signals received on foreign threads 2013-07-12 04:39:39 +08:00
sys_openbsd_amd64.s runtime: correctly handle signals received on foreign threads 2013-07-12 04:39:39 +08:00
sys_plan9_386.s runtime: correctly handle signals received on foreign threads 2013-07-12 04:39:39 +08:00
sys_plan9_amd64.s runtime: correctly handle signals received on foreign threads 2013-07-12 04:39:39 +08:00
sys_windows_386.s runtime: switch to os stack in windows osyield and usleep 2013-07-16 12:36:05 +10:00
sys_windows_amd64.s runtime: switch to os stack in windows osyield and usleep 2013-07-16 12:36:05 +10:00
sys_x86.c runtime: record proper goroutine state during stack split 2013-06-27 11:32:01 -04:00
syscall_windows_test.go runtime: clear locked bit when goroutine exits 2013-03-08 11:26:00 -05:00
syscall_windows.goc
time_plan9_386.c runtime: Plan 9, 32-bit: fix build by updating call to open() 2013-03-12 23:10:18 +01:00
time.goc runtime: introduce notetsleepg function 2013-07-22 23:02:27 +04:00
traceback_arm.c runtime: use funcdata to supply garbage collection information 2013-07-19 16:04:09 -04:00
traceback_x86.c runtime: use funcdata to supply garbage collection information 2013-07-19 16:04:09 -04:00
type.go
type.h
typekind.h
vdso_linux_amd64.c runtime: faster & safer hash function 2013-03-12 10:47:44 -07:00
vlop_386.s
vlop_arm_test.go
vlop_arm.s cmd/5a, cmd/dist, runtime: support m/g in the assembler, drop support for R9/R10 2013-05-30 03:03:52 +08:00
vlrt_386.c
vlrt_arm.c