CVSROOT: /cvs Module name: src Changes by: m...@cvs.openbsd.org 2021/09/07 13:29:13
Modified files: usr.sbin/btrace: bt_parse.y btrace.c Log message: Check that map/hist functions are called with the right argument. Change the parser to make clear() and zero() accept only local and global variables as arguments. Since the parser has no knowledge of the type of a variable abort the execution if clear() or zero() are being called with something other than a map or hist. Fix assertions found by jasper@ with AFL++ (port coming soon!). ok jasper@