mirror of
https://github.com/libyal/libexe
synced 2026-06-08 15:29:55 +00:00
68 lines
1.8 KiB
C
68 lines
1.8 KiB
C
/*
|
|
* Debug functions
|
|
*
|
|
* Copyright (C) 2011-2026, Joachim Metz <joachim.metz@gmail.com>
|
|
*
|
|
* Refer to AUTHORS for acknowledgements.
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU Lesser General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#if !defined( _LIBEXE_DEBUG_H )
|
|
#define _LIBEXE_DEBUG_H
|
|
|
|
#include <common.h>
|
|
#include <types.h>
|
|
|
|
#include "libexe_libbfio.h"
|
|
#include "libexe_libcerror.h"
|
|
|
|
#if defined( __cplusplus )
|
|
extern "C" {
|
|
#endif
|
|
|
|
#if defined( HAVE_DEBUG_OUTPUT )
|
|
|
|
void libexe_debug_print_file_characteristic_flags(
|
|
uint16_t characteristic_flags );
|
|
|
|
void libexe_debug_print_dll_characteristic_flags(
|
|
uint16_t characteristic_flags );
|
|
|
|
void libexe_debug_print_section_characteristic_flags(
|
|
uint32_t characteristic_flags );
|
|
|
|
int libexe_debug_print_posix_time_value(
|
|
const char *function_name,
|
|
const char *value_name,
|
|
const uint8_t *byte_stream,
|
|
size_t byte_stream_size,
|
|
int byte_order,
|
|
uint8_t value_type,
|
|
uint32_t string_format_flags,
|
|
libcerror_error_t **error );
|
|
|
|
int libexe_debug_print_read_offsets(
|
|
libbfio_handle_t *file_io_handle,
|
|
libcerror_error_t **error );
|
|
|
|
#endif /* defined( HAVE_DEBUG_OUTPUT ) */
|
|
|
|
#if defined( __cplusplus )
|
|
}
|
|
#endif
|
|
|
|
#endif /* !defined( _LIBEXE_DEBUG_H ) */
|
|
|