Linux vps-4302913.novaexata.com.br 3.10.0-1160.139.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Nov 3 13:30:41 UTC 2025 x86_64
Apache
: 162.214.88.42 | : 216.73.216.14
166 Domain
7.3.33
wwnova
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
share /
systemtap /
runtime /
dyninst /
[ HOME SHELL ]
Name
Size
Permission
Action
addr-map.c
525
B
-rw-r--r--
alloc.c
1.16
KB
-rw-r--r--
arith.c
2.24
KB
-rw-r--r--
common_session_state.h
6.76
KB
-rw-r--r--
copy.c
4
KB
-rw-r--r--
debug.h
413
B
-rw-r--r--
ilog2.h
2.87
KB
-rw-r--r--
io.c
4.43
KB
-rw-r--r--
linux_defs.h
5.58
KB
-rw-r--r--
linux_hash.h
1.83
KB
-rw-r--r--
linux_types.h
654
B
-rw-r--r--
loc2c-runtime.h
2.44
KB
-rw-r--r--
map_list.h
1.03
KB
-rw-r--r--
map_runtime.h
5.04
KB
-rw-r--r--
namespaces.h
0
B
-rw-r--r--
offptr.h
4.68
KB
-rw-r--r--
offset_list.h
4.32
KB
-rw-r--r--
perf.c
0
B
-rw-r--r--
print.c
2.37
KB
-rw-r--r--
probe_lock.h
1.81
KB
-rw-r--r--
regs.c
2.14
KB
-rw-r--r--
runtime.h
9.49
KB
-rw-r--r--
runtime_context.h
6.4
KB
-rw-r--r--
runtime_defines.h
235
B
-rw-r--r--
session_attributes.c
1.68
KB
-rw-r--r--
session_attributes.h
772
B
-rw-r--r--
shm.c
6.03
KB
-rw-r--r--
stapdyn.h
3.37
KB
-rw-r--r--
stat_runtime.h
1.79
KB
-rw-r--r--
sym.c
40
B
-rw-r--r--
task_finder.c
0
B
-rw-r--r--
timer.c
2.71
KB
-rw-r--r--
transport.c
30.4
KB
-rw-r--r--
transport.h
3.88
KB
-rw-r--r--
unwind.c
0
B
-rw-r--r--
uprobes-regs.c
1.94
KB
-rw-r--r--
uprobes.c
1.76
KB
-rw-r--r--
uprobes.h
953
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : io.c
/* -*- linux-c -*- * I/O for printing warnings, errors and debug messages * Copyright (C) 2012 Red Hat Inc. * * This file is part of systemtap, and is free software. You can * redistribute it and/or modify it under the terms of the GNU General * Public License (GPL); either version 2, or (at your option) any * later version. */ #ifndef _STAPDYN_IO_C_ #define _STAPDYN_IO_C_ #include <sys/param.h> #include "transport.h" #include "vsprintf.h" #include "print.h" #define WARN_STRING "WARNING: " #define ERR_STRING "ERROR: " enum code { INFO=0, WARN, ERROR, DBUG }; static void _stp_vlog (enum code type, const char *func, int line, const char *fmt, va_list args) __attribute ((format (printf, 4, 0))); static void _stp_vlog (enum code type, const char *func, int line, const char *fmt, va_list args) { size_t start = 0; size_t num; char local_buffer[STP_LOG_BUF_LEN]; char *buf; /* If we're writing a debug message, just use the temporary * buffer. These messages end up going through the normal * transport path, not the OOB data path. */ if (type == DBUG) { buf = local_buffer; } else { /* If we can't get a buffer, the transport must be not * up yet. Instead use our temporary buffer. */ buf = _stp_dyninst_transport_log_buffer(); if (buf == NULL) buf = local_buffer; } if (type == DBUG) { start = snprintf(buf, STP_LOG_BUF_LEN, "%s:%d: ", func, line); } else if (type == WARN) { /* This strcpy() is OK, since we know STP_LOG_BUF_LEN * is > sizeof(WARN_STRING). */ strcpy(buf, WARN_STRING); start = sizeof(WARN_STRING)- 1; } else if (type == ERROR) { /* This strcpy() is OK, since we know STP_LOG_BUF_LEN * is > sizeof(ERR_STRING) (which is < * sizeof(WARN_STRING). */ strcpy(buf, ERR_STRING); start = sizeof(ERR_STRING) - 1; } /* Note that if the message is too long it will just get truncated. */ num = vsnprintf(buf + start, STP_LOG_BUF_LEN - start - 1, fmt, args); if ((num + start) == 0) return; /* Mimic vscnprintf's length computation. */ if (num >= STP_LOG_BUF_LEN - start - 1) num = STP_LOG_BUF_LEN - start - 2; /* If the last character is not a newline, then add one. */ if (buf[num + start - 1] != '\n') { buf[num + start] = '\n'; num++; buf[num + start] = '\0'; } if (buf != local_buffer) { /* If we successfully got log space, send it as OOB now. * NB: don't explicitly send the \0 terminator. */ _stp_dyninst_transport_write_oob_data(buf, num + start); } else if (type == DBUG && _stp_runtime_get_context() != NULL) { /* Debug messages go over the normal data path if we have a * context for transport. */ _stp_print(buf); _stp_print_flush(); } else { /* Fallback to local stderr as a last resort. */ fprintf(stderr, "%s", buf); } } /** Prints warning. * This function sends a warning message immediately to staprun. It * will also be sent over the bulk transport (relayfs) if it is * being used. If the last character is not a newline, then one * is added. * @param fmt A variable number of args. */ static void _stp_warn (const char *fmt, ...) { va_list args; va_start(args, fmt); _stp_vlog (WARN, NULL, 0, fmt, args); va_end(args); } /** Prints error message and exits. * This function sends an error message immediately to staprun. It * will also be sent over the bulk transport (relayfs) if it is * being used. If the last character is not a newline, then one * is added. * * After the error message is displayed, the module will be unloaded. * @param fmt A variable number of args. * @sa _stp_exit(). */ static void _stp_error (const char *fmt, ...) { va_list args; va_start(args, fmt); _stp_vlog (ERROR, NULL, 0, fmt, args); va_end(args); // FIXME: need to exit here... // _stp_exit(); } /** Prints error message. * This function sends an error message immediately to staprun. It * will also be sent over the bulk transport (relayfs) if it is * being used. If the last character is not a newline, then one * is added. * * @param fmt A variable number of args. * @sa _stp_error */ static void _stp_softerror (const char *fmt, ...) { va_list args; va_start(args, fmt); _stp_vlog (ERROR, NULL, 0, fmt, args); va_end(args); } static void _stp_dbug (const char *func, int line, const char *fmt, ...) { va_list args; va_start(args, fmt); _stp_vlog (DBUG, func, line, fmt, args); va_end(args); } static void _stp_exit (void) { _stp_dyninst_transport_request_exit(); } #endif /* _STAPDYN_IO_C_ */
Close