mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-27 08:12:18 -08:00
pull raddbg byte attachment aside into standalone section - this guarantees byte placement, does not rely on ordering, and does not require symbols
This commit is contained in:
1 parent
9ef87e9d56
commit
ad735dab5e
2 files changed
+12
-5
No files matched your search
@@ -98,8 +98,9 @@ void raddbg_annotate_vaddr_range__impl(void *ptr, unsigned __int64 size, char *f
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
//- first byte of exe data section -> is attached
|
||||
raddbg_exe_data unsigned char raddbg_is_attached_byte_marker[1] = {0};
|
||||
//- special section gets "is attached" byte
|
||||
#pragma section(".rdbgia", read, write)
|
||||
__declspec(allocate(".rdbgia")) unsigned char raddbg_is_attached_byte_marker[1] = {0};
|
||||
|
||||
//- types
|
||||
|
||||
|
||||
Reference in new issue
Block a user