mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-09-24 10:10:04 +00:00
197 lines
5.8 KiB
C
197 lines
5.8 KiB
C
// Copyright (c) Epic Games Tools
|
|
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
|
|
|
////////////////////////////////
|
|
// Build Options
|
|
|
|
#define BUILD_TITLE "TORTURE"
|
|
|
|
#define BUILD_TESTS 1
|
|
#define BUILD_CONSOLE_INTERFACE 1
|
|
#define OS_FEATURE_GRAPHICAL 1
|
|
#define DMN_INIT_MANUAL 1
|
|
#define D_INIT_MANUAL 1
|
|
#define WM_INIT_MANUAL 1
|
|
#define FP_INIT_MANUAL 1
|
|
#define R_INIT_MANUAL 1
|
|
#define FNT_INIT_MANUAL 1
|
|
#define RD_INIT_MANUAL 1
|
|
#define NO_ASYNC 1
|
|
|
|
////////////////////////////////
|
|
|
|
#include "base/base_inc.h"
|
|
#include "x64/x64.h"
|
|
#include "linker/hash_table.h"
|
|
#include "linker/lf_hash_table.h"
|
|
#include "linker/base_ext/base_bit_array.h"
|
|
#include "artifact_cache/artifact_cache.h"
|
|
#include "rdi/rdi_local.h"
|
|
#include "rdi_make/rdi_make_local.h"
|
|
#include "minidump/minidump.h"
|
|
#include "minidump/minidump_parse.h"
|
|
#include "mdesk/mdesk.h"
|
|
#include "metagen/metagen.h"
|
|
#include "window_manager/window_manager_inc.h"
|
|
#include "http/http_inc.h"
|
|
#include "symbol_server/symbol_server_inc.h"
|
|
#include "config/config_inc.h"
|
|
#include "content/content.h"
|
|
#include "file_stream/file_stream.h"
|
|
#include "text/text.h"
|
|
#include "mutable_text/mutable_text.h"
|
|
#include "coff/coff.h"
|
|
#include "coff/coff_parse.h"
|
|
#include "coff/coff_obj_writer.h"
|
|
#include "coff/coff_lib_writer.h"
|
|
#include "pe/pe.h"
|
|
#include "pe/pe_section_flags.h"
|
|
#include "pe/pe_make_import_table.h"
|
|
#include "elf/elf.h"
|
|
#include "gnu/gnu.h"
|
|
#include "gnu/gnu_parse.h"
|
|
#include "elf/elf_parse.h"
|
|
#include "elf/elf_dump.h"
|
|
#include "codeview/codeview.h"
|
|
#include "codeview/codeview_parse.h"
|
|
#include "msf/msf.h"
|
|
#include "msf/msf_parse.h"
|
|
#include "pdb/pdb.h"
|
|
#include "pdb/pdb_parse.h"
|
|
#include "pdb/pdb_stringize.h"
|
|
#include "dwarf/dwarf_inc.h"
|
|
#include "eh_frame/eh_frame.h"
|
|
#include "eh_frame/eh_frame_dump.h"
|
|
#include "unwind/unwind_inc.h"
|
|
#include "llvm/llvm.h"
|
|
#include "rdi_from_coff/rdi_from_coff.h"
|
|
#include "rdi_from_elf/rdi_from_elf.h"
|
|
#include "rdi_from_pdb/rdi_from_pdb.h"
|
|
#include "rdi_from_dwarf/rdi_from_dwarf.h"
|
|
#include "obj/obj.h"
|
|
#include "radbin/radbin.h"
|
|
#include "arch/arch_inc.h"
|
|
#include "dbg_info/dbg_info.h"
|
|
#include "disasm/disasm_inc.h"
|
|
#include "stap/stap_parse.h"
|
|
#include "demon/demon_inc.h"
|
|
#include "eval/eval_inc.h"
|
|
#include "dbg_engine/dbg_engine_inc.h"
|
|
#include "eval_visualization/eval_visualization_inc.h"
|
|
#include "font_provider/font_provider_inc.h"
|
|
#include "render/render_inc.h"
|
|
#include "font_cache/font_cache.h"
|
|
#include "draw/draw.h"
|
|
#include "ui/ui_inc.h"
|
|
#include "raddbg/raddbg_inc.h"
|
|
#include "linker/base_ext/base_crc32.h"
|
|
#include "linker/base_ext/base_core.h"
|
|
#include "linker/base_ext/base_arena.h"
|
|
#include "linker/base_ext/base_arrays.h"
|
|
#include "linker/thread_pool/thread_pool.h"
|
|
#include "linker/codeview_ext/codeview.h"
|
|
#include "linker/pdb_ext/msf_builder.h"
|
|
#include "linker/pdb_ext/pdb.h"
|
|
#include "linker/pdb_ext/pdb_helpers.h"
|
|
#include "linker/pdb_ext/pdb_builder.h"
|
|
#include "linker/lnk_cmd_line.h"
|
|
#include "linker/lnk_cmd_line.c"
|
|
#include "linker/lnk_log.h"
|
|
#include "linker/lnk_debug_helper.h"
|
|
#include "torture.h"
|
|
|
|
#include "base/base_inc.c"
|
|
#include "x64/x64.c"
|
|
#include "linker/hash_table.c"
|
|
#include "linker/lf_hash_table.c"
|
|
#include "linker/base_ext/base_bit_array.c"
|
|
#include "artifact_cache/artifact_cache.c"
|
|
#include "rdi/rdi_local.c"
|
|
#include "rdi_make/rdi_make_local.c"
|
|
#include "minidump/minidump.c"
|
|
#include "minidump/minidump_parse.c"
|
|
#include "mdesk/mdesk.c"
|
|
#include "metagen/metagen.c"
|
|
#include "window_manager/window_manager_inc.c"
|
|
#include "http/http_inc.c"
|
|
#include "symbol_server/symbol_server_inc.c"
|
|
#include "config/config_inc.c"
|
|
#include "content/content.c"
|
|
#include "file_stream/file_stream.c"
|
|
#include "text/text.c"
|
|
#include "mutable_text/mutable_text.c"
|
|
#include "coff/coff.c"
|
|
#include "coff/coff_parse.c"
|
|
#include "coff/coff_obj_writer.c"
|
|
#include "coff/coff_lib_writer.c"
|
|
#include "pe/pe.c"
|
|
#include "pe/pe_make_import_table.c"
|
|
#include "elf/elf.c"
|
|
#include "gnu/gnu.c"
|
|
#include "gnu/gnu_parse.c"
|
|
#include "elf/elf_parse.c"
|
|
#include "elf/elf_dump.c"
|
|
#include "codeview/codeview.c"
|
|
#include "codeview/codeview_parse.c"
|
|
#include "msf/msf.c"
|
|
#include "msf/msf_parse.c"
|
|
#include "pdb/pdb.c"
|
|
#include "pdb/pdb_parse.c"
|
|
#include "pdb/pdb_stringize.c"
|
|
#include "dwarf/dwarf_inc.c"
|
|
#include "eh_frame/eh_frame.c"
|
|
#include "eh_frame/eh_frame_dump.c"
|
|
#include "unwind/unwind_inc.c"
|
|
#include "llvm/llvm.c"
|
|
#include "rdi_from_coff/rdi_from_coff.c"
|
|
#include "rdi_from_elf/rdi_from_elf.c"
|
|
#include "rdi_from_pdb/rdi_from_pdb.c"
|
|
#include "rdi_from_dwarf/rdi_from_dwarf.c"
|
|
#include "obj/obj.c"
|
|
#include "radbin/radbin.c"
|
|
#include "arch/arch_inc.c"
|
|
#include "dbg_info/dbg_info.c"
|
|
#include "disasm/disasm_inc.c"
|
|
#include "stap/stap_parse.c"
|
|
#include "demon/demon_inc.c"
|
|
#include "eval/eval_inc.c"
|
|
#include "dbg_engine/dbg_engine_inc.c"
|
|
#include "eval_visualization/eval_visualization_inc.c"
|
|
#include "font_provider/font_provider_inc.c"
|
|
#include "render/render_inc.c"
|
|
#include "font_cache/font_cache.c"
|
|
#include "draw/draw.c"
|
|
#include "ui/ui_inc.c"
|
|
#include "raddbg/raddbg_inc.c"
|
|
#include "linker/base_ext/base_core.c"
|
|
#include "linker/base_ext/base_arena.c"
|
|
#include "linker/base_ext/base_arrays.c"
|
|
#include "linker/base_ext/base_crc32.c"
|
|
#include "linker/thread_pool/thread_pool.c"
|
|
#include "linker/codeview_ext/codeview.c"
|
|
#include "linker/pdb_ext/msf_builder.c"
|
|
#include "linker/pdb_ext/pdb.c"
|
|
#include "linker/pdb_ext/pdb_helpers.c"
|
|
#include "linker/pdb_ext/pdb_builder.c"
|
|
#include "linker/lnk_debug_helper.c"
|
|
#include "torture.c"
|
|
|
|
#include "base/tests/base_tests.c"
|
|
#include "mdesk/tests/mdesk_tests.c"
|
|
#include "linker/tests/linker_tests.c"
|
|
#include "dwarf/tests/dwarf_tests.c"
|
|
#include "rdi_from_dwarf/tests/rdi_from_dwarf_tests.c"
|
|
#include "rdi_from_pdb/tests/rdi_from_pdb_tests.c"
|
|
#include "raddbg/tests/raddbg_tests.c"
|
|
|
|
internal B32 frame(void) { return 0; }
|
|
|
|
////////////////////////////////
|
|
|
|
internal void
|
|
entry_point(CmdLine *cmdline)
|
|
{
|
|
t_entry_point(cmdline);
|
|
}
|
|
|