binutils-gdb/gprofng/src
Vladimir Mezentsev ad0751b6ec Fix 32096 UBSAN issues in gprofng
Fixed UBSAN runtime errors such as:
 - load of value 4294967295, which is not a valid value for type 'Cmsg_warn'
 - null pointer passed as argument 2, which is declared to never be null
 - load of value 4294967295, which is not a valid value for type 'ProfData_type'
 - reference binding to misaligned address 0x00000357583c for type 'long unsigned int', which requires 8 byte alignment

gprofng/ChangeLog
2024-09-09  Vladimir Mezentsev  <vladimir.mezentsev@oracle.com>.

	PR gprofng/32096
	* src/BaseMetric.cc: Fix UBSAN runtime errors.
	* src/BaseMetric.h: Likewise.
	* src/Emsg.h: Likewise.
	* src/Experiment.cc: Likewise.
	* src/Table.h: Likewise.
2024-09-11 12:08:16 -07:00
..
machinemodels Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
ABS.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Application.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Application.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
ArchiveExp.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
ArchiveExp.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
BaseMetric.cc Fix 32096 UBSAN issues in gprofng 2024-09-11 12:08:16 -07:00
BaseMetric.h Fix 32096 UBSAN issues in gprofng 2024-09-11 12:08:16 -07:00
BaseMetricTreeNode.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
BaseMetricTreeNode.h Fix 32097 Warnings when building gprofng with Clang 2024-09-04 13:49:21 -07:00
CacheMap.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
CallStack.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
CallStack.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
CatchOutOfMemory.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
checks.cc RISC-V:[gprofng] Minimal support gprofng for riscv. 2024-07-10 15:16:03 -07:00
ClassFile.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
ClassFile.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
collctrl.cc Fix 32097 Warnings when building gprofng with Clang 2024-09-04 13:49:21 -07:00
collctrl.h Fix 32097 Warnings when building gprofng with Clang 2024-09-04 13:49:21 -07:00
collect.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
collector_module.h Fix 32097 Warnings when building gprofng with Clang 2024-09-04 13:49:21 -07:00
Command.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Command.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
comp_com.c Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
comp_com.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
CompCom.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
CompCom.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
count.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
data_pckts.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Data_window.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Data_window.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
DataObject.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
DataObject.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
DataSpace.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
DataSpace.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
DataStream.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
DataStream.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
dbe_collctrl.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
dbe_hwc.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
dbe_hwcdrv.c Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
dbe_hwcfuncs.c Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
dbe_hwctable.c Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
dbe_memmgr.c Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
dbe_structs.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
dbe_types.h RISC-V:[gprofng] Minimal support gprofng for riscv. 2024-07-10 15:16:03 -07:00
Dbe.cc Fix 32097 Warnings when building gprofng with Clang 2024-09-04 13:49:21 -07:00
Dbe.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
DbeApplication.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
DbeApplication.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
DbeArray.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
DbeCacheMap.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
DbeFile.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
DbeFile.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
DbeJarFile.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
DbeJarFile.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
DbeLinkList.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
DbeLock.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
DbeLock.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
DbeSession.cc Fix 32097 Warnings when building gprofng with Clang 2024-09-04 13:49:21 -07:00
DbeSession.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
DbeSyncMap.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
DbeThread.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
DbeThread.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
DbeView.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
DbeView.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
debug.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
DefaultHandler.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
DefaultMap2D.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
DefaultMap.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
DerivedMetrics.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
DerivedMetrics.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Disasm.cc Fix 32097 Warnings when building gprofng with Clang 2024-09-04 13:49:21 -07:00
Disasm.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Dwarf.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Dwarf.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
DwarfLib.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
DwarfLib.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Elf.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Elf.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Emsg.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Emsg.h Fix 32096 UBSAN issues in gprofng 2024-09-11 12:08:16 -07:00
Emsgnum.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
enums.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
envsets.cc gprofng: specify the heap data collection range 2024-08-12 15:54:59 -07:00
Exp_Layout.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Exp_Layout.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Experiment.cc Fix 32096 UBSAN issues in gprofng 2024-09-11 12:08:16 -07:00
Experiment.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
ExpGroup.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
ExpGroup.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Expression.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Expression.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
FileData.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
FileData.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Filter.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Filter.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
FilterExp.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
FilterSet.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
FilterSet.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Function.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Function.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
gethrtime.c Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
gp-archive.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
gp-archive.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
gp-collect-app.cc gprofng: specify the heap data collection range 2024-08-12 15:54:59 -07:00
gp-display-src.cc Fix 32097 Warnings when building gprofng with Clang 2024-09-04 13:49:21 -07:00
gp-display-text.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
gp-print.h Fix 32097 Warnings when building gprofng with Clang 2024-09-04 13:49:21 -07:00
gprofng.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
gprofng.h2m
gprofng.rc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
HashMap.h Fix 32097 Warnings when building gprofng with Clang 2024-09-04 13:49:21 -07:00
HeapActivity.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
HeapActivity.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
HeapData.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
HeapData.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
HeapMap.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
HeapMap.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Hist_data.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Hist_data.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Histable.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
hwc_amd_zen3.h gprofng: add hardware counters for AMD Zen4 2024-06-03 11:38:58 -07:00
hwc_amd_zen4.h gprofng: add hardware counters for AMD Zen4 2024-06-03 11:38:58 -07:00
hwc_arm64_amcc.h gprofng: add hardware counters for Appliedmicro processor 2024-08-19 17:26:20 -07:00
hwc_intel_icelake.h Fix 32097 Warnings when building gprofng with Clang 2024-09-04 13:49:21 -07:00
i18n.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
i18n.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
IndexMap2D.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
IndexObject.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
IndexObject.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
info.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
IntervalMap.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
IOActivity.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
IOActivity.h Fix 32097 Warnings when building gprofng with Clang 2024-09-04 13:49:21 -07:00
ipc.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
ipcio.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
ipcio.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
LoadObject.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
LoadObject.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
MachineModel.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Makefile.am Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Makefile.in Fix hard-coded bash path in gprofng 2024-05-08 22:18:24 -07:00
Map2D.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Map.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
MemObject.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
MemObject.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
MemorySpace.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
MemorySpace.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Metric.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Metric.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
MetricList.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
MetricList.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Module.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Module.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Ovw_data.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Ovw_data.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
parse.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
PathTree.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
PathTree.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
PRBTree.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
PRBTree.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
PreviewExp.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
PreviewExp.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Print.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Print.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
QLParser.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
QLParser.yy Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Sample.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Sample.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
SAXParser.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
SAXParserFactory.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
SAXParserFactory.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
SegMem.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Settings.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Settings.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
SourceFile.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
SourceFile.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
stab.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Stabs.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Stabs.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Stats_data.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Stats_data.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
StringBuilder.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
StringBuilder.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
StringMap.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Table.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
Table.h Fix 32096 UBSAN issues in gprofng 2024-09-11 12:08:16 -07:00
UserLabel.cc Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
UserLabel.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
util.cc Fix 32097 Warnings when building gprofng with Clang 2024-09-04 13:49:21 -07:00
util.h gprofng: 30889 can't compile without large file support 2024-01-12 20:52:14 -08:00
vec.h Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30