opnsense-src/usr.sbin/pmcstat
Pedro F. Giffuni 780154cbaf pmcstat(8); unsign some allocation variables and use reallocarray(3).
Use unsigned values in some internal variables that will be used during
allocation. The variables are used in reduced scope and have no chance of
becoming negative.

Provide bounds checking through reallocarray(3).

MFC after:	2 weeks
2017-04-22 16:02:40 +00:00
..
Makefile Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00
pmcpl_annotate.c - Reorganize code in 'plugin' to share log processing. 2010-02-11 22:51:44 +00:00
pmcpl_annotate.h - Reorganize code in 'plugin' to share log processing. 2010-02-11 22:51:44 +00:00
pmcpl_annotate_cg.c Add correct attributions. 2014-02-24 02:47:47 +00:00
pmcpl_annotate_cg.h Add correct attributions. 2014-02-24 02:47:47 +00:00
pmcpl_callgraph.c When an asm location cannot be resolved to a function the cost 2010-09-03 13:54:02 +00:00
pmcpl_callgraph.h - Reorganize code in 'plugin' to share log processing. 2010-02-11 22:51:44 +00:00
pmcpl_calltree.c pmcstat(8); unsign some allocation variables and use reallocarray(3). 2017-04-22 16:02:40 +00:00
pmcpl_calltree.h - Reorganize code in 'plugin' to share log processing. 2010-02-11 22:51:44 +00:00
pmcpl_gprof.c Make code compile when basename() is POSIX compliant. 2016-05-25 08:45:03 +00:00
pmcpl_gprof.h - Reorganize code in 'plugin' to share log processing. 2010-02-11 22:51:44 +00:00
pmcstat.8 Fix the date on the pmcstat(8) man page from r291016. 2015-11-18 15:12:24 +00:00
pmcstat.c Just remove freeing memory in pmcstat_cleanup, since we only clean up 2016-10-07 21:03:12 +00:00
pmcstat.h Support a wider history counter in pmcstat(8) gmon output 2015-11-18 14:52:01 +00:00
pmcstat_log.c pmcstat(8); unsign some allocation variables and use reallocarray(3). 2017-04-22 16:02:40 +00:00
pmcstat_log.h Remove an unused field from struct pmcstat_image. 2016-10-15 23:46:55 +00:00
pmcstat_top.h - Reorganize code in 'plugin' to share log processing. 2010-02-11 22:51:44 +00:00