Exploit databaseDownload repository ZIP
GH-a4473dcd9930d1ae4c0775adc06b1cfb
satheesh575555/linux-4.19.72_cve-2022-36946
Sources for CVE-2022-36946
2 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files27
satheesh575555/linux-4.19.72_cve-2022-36946Revision 34cc7d8183fd
- ↑..Parent directory
- Kconfig
- Makefile
- coresight-catu.c
- coresight-catu.h
- coresight-cpu-debug.c
- coresight-dynamic-replicator.c
- coresight-etb10.c
- coresight-etm-cp14.c
- coresight-etm-perf.c
- coresight-etm-perf.h
- coresight-etm.h
- coresight-etm3x-sysfs.c
- coresight-etm3x.c
- coresight-etm4x-sysfs.c
- coresight-etm4x.c
- coresight-etm4x.h
- coresight-funnel.c
- coresight-priv.h
- coresight-replicator.c
- coresight-stm.c
- coresight-tmc-etf.c
- coresight-tmc-etr.c
- coresight-tmc.c
- coresight-tmc.h
- coresight-tpiu.c
- coresight.c
- of_coresight.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
drivers/hwtracing/coresight/coresight-etm-perf.h
Text · 1,369 bytes/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright(C) 2015 Linaro Limited. All rights reserved.
* Author: Mathieu Poirier <[email protected]>
*/
#ifndef _CORESIGHT_ETM_PERF_H
#define _CORESIGHT_ETM_PERF_H
#include "coresight-priv.h"
struct coresight_device;
/*
* In both ETMv3 and v4 the maximum number of address comparator implentable
* is 8. The actual number is implementation specific and will be checked
* when filters are applied.
*/
#define ETM_ADDR_CMP_MAX 8
/**
* struct etm_filter - single instruction range or start/stop configuration.
* @start_addr: The address to start tracing on.
* @stop_addr: The address to stop tracing on.
* @type: Is this a range or start/stop filter.
*/
struct etm_filter {
unsigned long start_addr;
unsigned long stop_addr;
enum etm_addr_type type;
};
/**
* struct etm_filters - set of filters for a session
* @etm_filter: All the filters for this session.
* @nr_filters: Number of filters
* @ssstatus: Status of the start/stop logic.
*/
struct etm_filters {
struct etm_filter etm_filter[ETM_ADDR_CMP_MAX];
unsigned int nr_filters;
bool ssstatus;
};
#ifdef CONFIG_CORESIGHT
int etm_perf_symlink(struct coresight_device *csdev, bool link);
#else
static inline int etm_perf_symlink(struct coresight_device *csdev, bool link)
{ return -EINVAL; }
#endif /* CONFIG_CORESIGHT */
#endif