1
我可以用戶單的AOT功能,原生‘預編譯’.NET的DLL(和或EXE文件),以使它們更難進行逆向工程?單--aot使用MinGW:未知僞操作:`。本地」
如果是這樣,我如何才能在Windows 7中使用mono/AOT? (我正在運行x64,但該應用程序明確針對x86)。我剛剛安裝了Mono 2.6.3和MinGW 5.1.6,並且正在嘗試AOT編譯exe(或者一個dll,沒關係)。
我得到錯誤信息的屏幕和屏幕:
C:\Users\jupdike\AppData\Local\Temp\mono_aot_XSDEAV:533: Error: junk at end of line, first unrecognized character is `H'
C:\Users\jupdike\AppData\Local\Temp\mono_aot_XSDEAV:539: Error: unknown pseudo-op: `.local'
C:\Users\jupdike\AppData\Local\Temp\mono_aot_XSDEAV:546: Warning: .size pseudo-op used outside of .def/.endef ignored.
C:\Users\jupdike\AppData\Local\Temp\mono_aot_XSDEAV:546: Error: junk at end of line, first unrecognized character is `H'
我可以打開生成的彙編代碼,但我不知道爲什麼彙編扼流圈就可以了:
.size HappyForms_TextForm__ctor_string_string_string_bool,.-HappyForms_TextForm__ctor_string_string_string_bool (533)
_.Lme_a:
.Lme_a:
.balign 16
_.Lm_b:
.Lm_b:
.local HappyForms_TextForm_get_InputValue (539)
_HappyForms_TextForm_get_InputValue:
HappyForms_TextForm_get_InputValue:
.byte 85,139,236,131,236,8,139,69,8,139,128,216,2,0,0,131,236,12,80,139,0,144,144,144,255,144,200,2,0,0,131,196
.byte 16,201,195
.size HappyForms_TextForm_get_InputValue,.-HappyForms_TextForm_get_InputValue (546)
(在parens上面的數字是行號)