mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-10-15 05:19:41 -07:00
first pass at (rdi -> loose rdim) path, used in (rdi * ... * rdi) -> rdi joining in radbin; plug in regular conversion path before voff -> line & breakpad paths in radbin, such that PDBs, DWARFs, RDIs, etc. can be used as input; fix up voff -> line path to plug into regular output systems; remove String8 union thing - three reasons: (a) it was only ever introduced for convenience in Linux layers, so let's just keep zero-terminated Linux nonsense in Linux land, (b) it was just alternate syntax for a cast, so let's just cast, (c) it was misleading - 'cstr' implies null-termination, which String8 of course doesn't guarantee. this led to some misuses, where .cstr was trusted to be zero-terminated, when that was not necessarily true (semaphore opening).
This commit is contained in:
1 parent
2af3990971
commit
4312ee14fd
17 files changed
+1797
-1508
No files matched your search
@@ -10,11 +10,7 @@
|
||||
typedef struct String8 String8;
|
||||
struct String8
|
||||
{
|
||||
union
|
||||
{
|
||||
U8 *str;
|
||||
char *cstr;
|
||||
};
|
||||
U8 *str;
|
||||
U64 size;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user