Displaying 2 results from an estimated 2 matches for "get_now".
2015 Aug 17
4
Way to guarantee generated indirect call is via memory?
I'd like to generate an indirect call instruction that will end up as a call via memory and not register.
The address of the target is a constant.
For example, something like
%25 = load i64, i64* @get_Now
%26 = inttoptr i64 %25 to i64 ()*
%27 = call i64 %26()
may end up as
mov rsi,qword ptr [00007FF658381070]
call rsi
or as
call qword ptr [00007FF658381070]
If I want to guarantee that the second form is always used, how would I go about that?
One possibility is to use patchpoints...
2009 Apr 28
0
Unhandled Exception: System.TypeInitializationException
...ion was thrown by the type initializer for System.TimeZone ---> System.NotSupportedException: Can't get timezone name.
at System.CurrentSystemTimeZone..ctor (Int64 lnow) [0x00000]
at System.TimeZone..cctor () [0x00000]
--- End of inner exception stack trace ---
at System.DateTime.get_Now () [0x00000]
at System.Windows.Forms.WinFileSystem..ctor () [0x00000]
at System.Windows.Forms.MWFVFS..ctor () [0x00000]
at System.Windows.Forms.FileDialog..ctor () [0x00000]
at System.Windows.Forms.OpenFileDialog..ctor () [0x00000]
at (wrapper remoting-invoke-with-check) System.Windo...