search for: ismodifi

Displaying 7 results from an estimated 7 matches for "ismodifi".

Did you mean: ismodified
2016 Feb 22
2
Transfer information IR to binary
.... > How are you dealing with the fact that code gets relocated during loading? You talk about the loading phase during the link? If yes, this is why a do the post-processing after the link. If you talk about something like the -fpie parameter, I used a small trick. The function who will call isModified will calculate the offset dynamically. To do this, you get the address in IR (in C++ this is like (uint64_t)std::addressof(main);) and I remove a constant value. During the post-processing (again) I will update this constant value with the address into the binary. This will give you an offset...
2016 Feb 22
2
Transfer information IR to binary
...I create in IR a function who take 2 parameters, a begin and an end value. This function perform an hash over the code area (from begin to end) and return it. At first, I don’t know the addresses and the hash value so I put random value (it is an integer 64 bits). The function look like uint32_t isModified(uint64_t* begin, uint64_t* end). Once the compilation is over, I need to update the begin address, end address and the hash value. When I say the compilation is over, I mean the clang driver has finished all of his action (compiling, linking, etc.). Greetings, Johan > On 22 Feb 2016, at...
2016 Feb 22
2
Transfer information IR to binary
Hi, I want to know if it is possible to pass information from IR to the final binary (like a constant value)? I have a module pass in IR who make some transformation and, once the compilation is finished, I need to apply a post-processing. The post-processing need information from the IR part. Greetings, Johan -------------- next part -------------- A non-text attachment was scrubbed...
2007 Jul 04
0
[1104] trunk/wxruby2: Added 2.8 methods to TextCtrl & document them; tidy up header file
...t_test":#TextCtrl_hittest </span><span class="cx"> * "TextCtrl#is_editable":#TextCtrl_iseditable </span><ins>+* "TextCtrl#is_empty":#TextCtrl_isempty </ins><span class="cx"> * "TextCtrl#is_modified":#TextCtrl_ismodified </span><span class="cx"> * "TextCtrl#is_multi_line":#TextCtrl_ismultiline </span><span class="cx"> * "TextCtrl#is_single_line":#TextCtrl_issingleline </span><span class="lines">@@ -162,9 +192,11 @@ </span>...
2006 May 15
0
[LLVMdev] Re: __main() function and AliasSet
On Mon, 15 May 2006, Nai Xia wrote: > In other words, if I only use -steens-aa and the data_XXXs are all > external global variables( and so inComplete ), Sounds right! > the call to printf will > make the same effect, which I have tested it. > > Am I right ? :) If you've tested it then, yes you're right :). I haven't played with this stuff for a long time,
2006 May 15
2
[LLVMdev] Re: __main() function and AliasSet
Hi Chris, I took a haste look at the "Points-to Analysis in Almost Linear Time" by Steens , your PHD thesis and SteensGaard.cpp in LLVM this afternoon. So I think: 1. Actually the basic algorithm described originally by SteensGaard does not provide MOD/REF information for functions. 2. The context insensitive part of Data Structure Analysis (LocalAnalysis) can be deemed as an
2006 May 17
2
[LLVMdev] Re: __main() function and AliasSet
...e program!). if (Function *F = CS.getCalledFunction()) if (F->isExternal()) return NoModRef; // Otherwise, if the node is complete, but it is only M or R, return this. // This can be useful for globals that should be marked const but are not. if (!N->isModified()) Result = (ModRefResult)(Result & ~Mod); if (!N->isRead()) Result = (ModRefResult)(Result & ~Ref); } } return (ModRefResult)(Result & AliasAnalysis::getModRefInfo(CS, P, Size)); } --------------------- So steens-aa alone thinks "printf" Mo...