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 files240
satheesh575555/linux-4.19.72_cve-2022-36946Revision 34cc7d8183fd
- ↑..Parent directory
- c++/
- cs-etm-decoder/
- include/
- intel-pt-decoder/
- libunwind/
- scripting-engines/
- Build
- PERF-VERSION-GEN
- annotate.c
- annotate.h
- arm-spe-pkt-decoder.c
- arm-spe-pkt-decoder.h
- arm-spe.c
- arm-spe.h
- auxtrace.c
- auxtrace.h
- block-range.c
- block-range.h
- bpf-loader.c
- bpf-loader.h
- bpf-prologue.c
- bpf-prologue.h
- branch.c
- branch.h
- build-id.c
- build-id.h
- cache.h
- call-path.c
- call-path.h
- callchain.c
- callchain.h
- cgroup.c
- cgroup.h
- cloexec.c
- cloexec.h
- color.c
- color.h
- comm.c
- comm.h
- compress.h
- config.c
- config.h
- counts.c
- counts.h
- cpumap.c
- cpumap.h
- cs-etm.c
- cs-etm.h
- ctype.c
- data-convert-bt.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
tools/perf/util/print_binary.h
Text · 945 bytes/* SPDX-License-Identifier: GPL-2.0 */
#ifndef PERF_PRINT_BINARY_H
#define PERF_PRINT_BINARY_H
#include <stddef.h>
#include <stdio.h>
enum binary_printer_ops {
BINARY_PRINT_DATA_BEGIN,
BINARY_PRINT_LINE_BEGIN,
BINARY_PRINT_ADDR,
BINARY_PRINT_NUM_DATA,
BINARY_PRINT_NUM_PAD,
BINARY_PRINT_SEP,
BINARY_PRINT_CHAR_DATA,
BINARY_PRINT_CHAR_PAD,
BINARY_PRINT_LINE_END,
BINARY_PRINT_DATA_END,
};
typedef int (*binary__fprintf_t)(enum binary_printer_ops op,
unsigned int val, void *extra, FILE *fp);
int binary__fprintf(unsigned char *data, size_t len,
size_t bytes_per_line, binary__fprintf_t printer,
void *extra, FILE *fp);
static inline void print_binary(unsigned char *data, size_t len,
size_t bytes_per_line, binary__fprintf_t printer,
void *extra)
{
binary__fprintf(data, len, bytes_per_line, printer, extra, stdout);
}
int is_printable_array(char *p, unsigned int len);
#endif /* PERF_PRINT_BINARY_H */