ddnet/scripts
Robert Müller c8f6811aba Also print external module/symbol names in parse_drmingw.sh
Example output before this change:

```
Module offset: 0x00007FF7C8DE0000
Image base: 0x0000000140000000
0x0000000772cb5efc: ?? ??:0
0x000000077cd5c3e8: ?? ??:0
0x000000075d063cc3: ?? ??:0
0x000000075d2a3d61: ?? ??:0
0x000000075d0b7fde: ?? ??:0
0x000000075d2a5f18: ?? ??:0
0x000000075d2a6809: ?? ??:0
0x000000075d0b8140: ?? ??:0
0x000000075cf9d41b: ?? ??:0
0x000000014034b4c7: CCommandProcessorFragment_Vulkan::WaitFrame() at src/engine/client/backend/vulkan/backend_vulkan.cpp:2341
0x000000014034a1a5: CCommandProcessorFragment_Vulkan::NextFrame() at src/engine/client/backend/vulkan/backend_vulkan.cpp:2501
0x000000014032d5b6: CCommandProcessorFragment_Vulkan::RunCommand(CCommandBuffer::SCommand const*) at src/engine/client/backend/vulkan/backend_vulkan.cpp:6473
0x000000014001a7e6: CCommandProcessor_SDL_GL::RunBuffer(CCommandBuffer*) at src/engine/client/backend_sdl.cpp:335
0x00000001400168eb: CGraphicsBackend_Threaded::ThreadFunc(void*) at src/engine/client/backend_sdl.cpp:65
0x0000000140237f9a: CWindowsComLifecycle::~CWindowsComLifecycle() at src/base/system.cpp:4660
 (inlined by) thread_run at src/base/system.cpp:796
0x00000007ea7e257d: ?? ??:0
0x00000007eb62aa48: ?? ??:0
```

Output for the same crash dump with this change:

```
Module offset: 0x00007FF7C8DE0000
Image base: 0x0000000140000000

amdvlk64.dll!vk_icdGetInstanceProcAddrSG+0x1f40c
atig6pxx.dll!AmdGetCallbackProcs+0x124
amdvlk64.dll!vk_icdGetInstanceProcAddrSG+0x57773
amdvlk64.dll!vk_icdGetInstanceProcAddrSG+0x297811
amdvlk64.dll!vk_icdGetInstanceProcAddrSG+0xaba8e
amdvlk64.dll!vk_icdGetInstanceProcAddrSG+0x2999c8
amdvlk64.dll!vk_icdGetInstanceProcAddrSG+0x29a2b9
amdvlk64.dll!vk_icdGetInstanceProcAddrSG+0xabbf0
amdvlk64.dll!IcdPresentBuffers+0xb8eb
0x000000014034b4c7: CCommandProcessorFragment_Vulkan::WaitFrame() at src/engine/client/backend/vulkan/backend_vulkan.cpp:2341
0x000000014034a1a5: CCommandProcessorFragment_Vulkan::NextFrame() at src/engine/client/backend/vulkan/backend_vulkan.cpp:2501
0x000000014032d5b6: CCommandProcessorFragment_Vulkan::RunCommand(CCommandBuffer::SCommand const*) at src/engine/client/backend/vulkan/backend_vulkan.cpp:6473
0x000000014001a7e6: CCommandProcessor_SDL_GL::RunBuffer(CCommandBuffer*) at src/engine/client/backend_sdl.cpp:335
0x00000001400168eb: CGraphicsBackend_Threaded::ThreadFunc(void*) at src/engine/client/backend_sdl.cpp:65
0x0000000140237f9a: CWindowsComLifecycle::~CWindowsComLifecycle() at src/base/system.cpp:4660
 (inlined by) thread_run at src/base/system.cpp:796
KERNEL32.DLL!BaseThreadInitThunk+0x1d
ntdll.dll!RtlUserThreadStart+0x28
```

Also improve variable names in the script and add some comments.
2024-05-17 19:35:37 +02:00
..
android Fix misspellings 2022-10-25 13:51:56 -03:00
compile_libs Fix misspellings 2022-10-25 13:51:56 -03:00
languages Fix possibly-used-before-assignment in copy_fix.py 2024-05-16 20:46:14 +02:00
check_config_variables.py Move config variables to config_variables.h, remove variables.h 2023-11-25 16:40:55 +01:00
check_dilate.sh Run shellcheck over check_dilate.sh 2020-12-08 15:02:16 +01:00
check_header_guards.py Add support for Rust code in DDNet 2022-10-19 23:46:06 +02:00
check_identifiers.py Update scripts/check_identifiers.py 2022-07-27 09:37:24 +02:00
check_standard_headers.sh Check in CI that no C standard headers are used 2023-03-01 19:26:51 +01:00
check_unused_header_files.py Rewrite unused header style check shell script in Python 2023-10-14 15:21:28 +02:00
checksum.py [WIP] Require Python 3.6 (f-strings) and fix pylints 2022-07-27 09:37:24 +02:00
darwin_strip_rpath.py Support libfat directory for macOS, use arm64 libs (fixes #3250) 2021-12-20 00:17:38 +01:00
extract_identifiers.py Fix rest of pylint manually 2022-07-27 09:37:25 +02:00
fix_style.py check for newline at the end of source files 2024-03-23 16:01:00 +01:00
gen_keys.py Handle ordinal joystick hat keys as combined cardinal hat keys 2022-12-17 17:18:01 +01:00
generate_fake_curl.py [WIP] Require Python 3.6 (f-strings) and fix pylints 2022-07-27 09:37:24 +02:00
generate_unicode_confusables_data.py Replace all usages of C standard headers with C++ headers 2023-03-01 19:26:51 +01:00
generate_unicode_tolower.py Replace all usages of C standard headers with C++ headers 2023-03-01 19:26:51 +01:00
git_revision.py scripts/git_revision.py: Allow to pass in the git shortrev 2023-03-19 18:02:04 +01:00
hash_passwords.py [WIP] Require Python 3.6 (f-strings) and fix pylints 2022-07-27 09:37:24 +02:00
import_file_score.py Rename all variables for strict camel-casing of abbreviations 2024-03-05 15:44:09 +01:00
integration_test.sh Set sqlite3 .timeout in integration_test.sh 2024-05-10 17:48:44 +02:00
move_sqlite.py Improve move_sqlite script to adapt timezone 2022-12-14 18:35:01 +01:00
parse_drmingw.sh Also print external module/symbol names in parse_drmingw.sh 2024-05-17 19:35:37 +02:00
SDL_scancode.h Regenerate key lists with latest SDL version 2023-05-30 23:39:47 +02:00
send_named_pipe.ps1 Improve Windows pipe (FIFO) support 2023-09-05 19:15:09 +02:00
tw_api.py Run flynt -a 2022-07-27 09:37:24 +02:00
unicode.py [WIP] Require Python 3.6 (f-strings) and fix pylints 2022-07-27 09:37:24 +02:00
wordlist.py [WIP] Require Python 3.6 (f-strings) and fix pylints 2022-07-27 09:37:24 +02:00