CL you are referring to onle changed executables. I don't think DLLs were 
fixed. Please file an issue, maybe someone will fix your problem,

Thank you.

Alex 

On Wednesday, 16 September 2020 at 02:41:24 UTC+10 Quim Muntal wrote:

> Hi everyone,
>
> I need to export some Go function as a windows/amd64 DLL which have ASLR 
> and High Entropy VA protections enabled.
>
> I'm currently building the binary using go 1.15 and the command `go build 
> -buildmode=c-shared .`, which generates a DLL with the NX flag but without 
> IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE nor 
> IMAGE_DLLCHARACTERISTICS_HIGH_ENTROPY_VA.
>
> As per https://go-review.googlesource.com/c/go/+/214397/ go 1.15 seems to 
> support -buildmode=pie in windows, but I'm not sure if it ca also be 
> applied when using  -buildmode=c-shared.
>
> Any clue on how to achieve this?
>
> Thanks,
> Quim
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/f6036d22-f8c1-4f61-93ac-6d6669ec40efn%40googlegroups.com.

Reply via email to