go/src/cmd/9g
Shenghou Ma 2978ebbc7b cmd/5g, cmd/6g, cmd/8g, cmd/9g: clear Addr parameter in sudoaddable
The Addr might be a stack variable with uninitialized fields.

Fixes #9777.

Change-Id: I799786e3d8b2e17e069725bc66a076cf9ca11f93
Signed-off-by: Shenghou Ma <minux@golang.org>
Reviewed-on: https://go-review.googlesource.com/3932
Reviewed-by: Dave Cheney <dave@cheney.net>
Reviewed-by: Keith Randall <khr@golang.org>
2015-02-09 01:56:16 +00:00
..
cgen.c liblink: require use of TYPE_ADDR, not TYPE_CONST 2015-02-04 16:50:06 +00:00
doc.go all: power64 is now ppc64 2014-12-05 19:13:20 -05:00
galign.c liblink: define fixed A-numbers for common instructions 2015-02-03 18:23:05 +00:00
gg.h liblink: the zero Prog is now valid and ready for use 2015-02-03 18:22:45 +00:00
ggen.c liblink: require use of TYPE_ADDR, not TYPE_CONST 2015-02-04 16:50:06 +00:00
gobj.c liblink: require use of TYPE_ADDR, not TYPE_CONST 2015-02-04 16:50:06 +00:00
gsubr.c cmd/5g, cmd/6g, cmd/8g, cmd/9g: clear Addr parameter in sudoaddable 2015-02-09 01:56:16 +00:00
opt.h liblink: define fixed A-numbers for common instructions 2015-02-03 18:23:05 +00:00
peep.c liblink: require use of TYPE_ADDR, not TYPE_CONST 2015-02-04 16:50:06 +00:00
prog.c liblink: require use of TYPE_ADDR, not TYPE_CONST 2015-02-04 16:50:06 +00:00
reg.c liblink: require use of TYPE_ADDR, not TYPE_CONST 2015-02-04 16:50:06 +00:00