175 files, from working commit b1a079a. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
11 lines
617 B
C
11 lines
617 B
C
/* Synthetic Source-only PE import entry witness. No loader APIs, threads,
|
|
* code modification, credentials, sockets or engine access in DLL entry. */
|
|
#include <stdint.h>
|
|
struct Marker {uint32_t abi,size,process_attach_count,reason;uint64_t module;};
|
|
__declspec(dllexport) struct Marker gw_source_attach_marker={1,sizeof(struct Marker),0,0,0};
|
|
int __stdcall gw_marker_entry(void *module,unsigned long reason,void *reserved){
|
|
(void)reserved;
|
|
if(reason==1){gw_source_attach_marker.module=(uint64_t)(uintptr_t)module;gw_source_attach_marker.reason=reason;++gw_source_attach_marker.process_attach_count;}
|
|
return 1;
|
|
}
|