search for: segmentd

Displaying 2 results from an estimated 2 matches for "segmentd".

Did you mean: segments
2016 Sep 04
1
How to insert instructions before each function calls?
...o you want to do that? It may lead >> to a different answer. >> >> I'm trying to implement something similar to segmented stack mechanism by using LLVM. Instead of inserting comparison code in the prologue of the function, I would like do the probe before arguments pushed. The segmentd stacks append a guarded page. This guard page will call the addmorestack function if the probe instructions touch this guarded page. Otherwise, it only stroe the return address in the bottom of the callee stack frame. In order to achieve this, for each function call, two instructions are needed to...
2016 Sep 05
2
How to insert instructions before each function calls?
...tructions? Why do you want to do that? It may lead to a different answer. > > I'm trying to implement something similar to segmented stack mechanism by using LLVM. Instead of inserting comparison code in the prologue of the function, I would like do the probe before arguments pushed. The segmentd stacks append a guarded page. This guard page will call the addmorestack function if the probe instructions touch this guarded page. Otherwise, it only stroe the return address in the bottom of the callee stack frame. > > In order to achieve this, for each function call, two instructions ar...