Displaying 20 results from an estimated 30000 matches similar to: "[LLVMdev] JIT and security"
2009 Oct 19
0
[LLVMdev] JIT and security
On Oct 18, 2009, at 1:46 PM, Oleg Knut wrote:
> Hello,
>
> I'm writing JIT compiler that will run a third party code. My goal is
> to build it with security layer that will allow me to prevent some
> basic operation that possibly can harm JIT application host computer.
>
> Maybe some of you can guide me on how to do following operations:
> 1) prevent system calls
>
2009 Oct 23
0
[LLVMdev] JIT and security
2009/10/18 Oleg Knut <oleg77 at gmail.com>:
> Maybe some of you can guide me on how to do following operations:
> 1) prevent system calls
> 2) memory allocation management (set some limits that can't be used
> by JIT)
> 3) CPU power limiting
Hi Oleg,
This is totally system dependent, it'd be *very* hard to do it
multi-platform. On Unix, a good part of it is
2009 Nov 05
3
[LLVMdev] create dummy function
Thank you very much for you help, Renato!
I read through paper you referred and also this document -
http://llvm.org/docs/tutorial/JITTutorial1.html
Following these instructions to create successful function I run into
some problems:
1) llvm::getGlobalContext() does not exists anymore? "llvm/LLVMContext.h" too?
2) creating instance of IRBuilder don't require template (from
tutorial
2009 Nov 05
2
[LLVMdev] create dummy function
Hello,
I have a simple question. How to create "dummy" function which will
have no functionality behind (return nothing and do nothing)?
Currently I'm trying to do this:
llvm::Constant* c = Module.getOrInsertFunction("dummy",
FunctionThatNeedsToBeReplaced.getFunctionType());
llvm::Function* dummy = llvm::cast<llvm::Function>(c);
This way I create new function that
2009 Nov 15
0
[LLVMdev] create dummy function
What exactly is M in that code you posted?
Oleg Knut wrote:
>
> Thank you very much for you help, Renato!
>
> I read through paper you referred and also this document -
> http://llvm.org/docs/tutorial/JITTutorial1.html
>
> Following these instructions to create successful function I run into
> some problems:
> 1) llvm::getGlobalContext() does not exists anymore?
2009 Nov 05
0
[LLVMdev] create dummy function
2009/11/5 Oleg Knut <oleg77 at gmail.com>:
> Hello,
> I have a simple question. How to create "dummy" function which will
> have no functionality behind (return nothing and do nothing)?
> Currently I'm trying to do this:
>
> llvm::Constant* c = Module.getOrInsertFunction("dummy",
> FunctionThatNeedsToBeReplaced.getFunctionType());
>
2010 Jan 04
0
[LLVMdev] Getting Kaleidoscope to compile
Probably you missed to install llvm-dev package with headers for llvm.
2010/1/4 Russell Wallace <russell.wallace at gmail.com>
> Hi all,
>
> I've started work on a new programming language for which I am
> considering using LLVM as the backend, and trying to experiment with
> it using the Kaleidoscope demo compiler.
>
> Taking the full source listing from
>
2010 Jan 04
4
[LLVMdev] Getting Kaleidoscope to compile
Hi all,
I've started work on a new programming language for which I am
considering using LLVM as the backend, and trying to experiment with
it using the Kaleidoscope demo compiler.
Taking the full source listing from
http://llvm.org/docs/tutorial/LangImpl3.html#code and trying to
compile it with the provided instructions gives me the following
errors:
a at a-desktop:~$ g++ -g -O3 toy.cpp
2018 Apr 20
3
What is the maximum speed for download from a samba share
What is the maximum speed for download from a samba share?
I have a 100 kbit/s Internet
The maximum speed for a download from my webserver with samba is about
25.000 kbit/s
The bottleneck is the samba access. Without samba I can download with
100 kbit/s
So the question? is it possible to get more speed or is this the maximum
speed with samba?
I tried a lot of hints for samba tuning but
2018 Apr 21
3
What is the maximum speed for download from a samba share
> Limiting the linux-server's max cpu-speed had
> the most affect on performance:
> (limited to 1.6GHz instead of 2.4GHz) (33% limitation)
The server is equipped with an 6 core / 12 tread 3.6 GHz CPU (Intel Core
i7-980x and a Raid 10 Disk array.
The cpu is 90% idle (including webserver traffic and mailserver traffic)
during downloads.
There is no encryption because the samba VM
1999 Sep 11
1
legend(): adjust space between symbol and tex
Hello,
I'd like to ask, how to adjust the space between symbol/line and text in a
legend. My legend() is build like that
legend(xmax-netzdiff/11, # shouldn't matter here
ifelse(ydiff>=0, #
ymin-6.5*(netzdiff/11), #
ymax-netzdiff/11), #
c("stehender Stamm","Windwurf",
2001 Sep 24
4
part of files in another file after crash
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
because of strange reasons my notebook sometimes crashes short after startup
(but that's not ext3's fault, maybe mem?, when i wait several minutes it
works without problems)
the problem is that after 3 crashes at startup, when my notebook finally
worked i got the msg:
Sep 23 23:29:17 blackbox kernel: EXT3-fs warning (device ide0(3,3)):
2015 Nov 11
2
[RFC] A new intrinsic, `llvm.blackbox`, to explicitly prevent constprop, die, etc optimizations
On Wed, Nov 11, 2015 at 10:41 AM, Daniel Berlin <dberlin at dberlin.org> wrote:
> On Wed, Nov 11, 2015 at 10:32 AM, Reid Kleckner <rnk at google.com> wrote:
>
>> I think the idea is to model the intrinsic as a normal external function
>> call:
>>
> - Can read/write escaped memory
>>
> - Escapes pointer args
>> - Functionattrs cannot infer
2015 Nov 11
2
[RFC] A new intrinsic, `llvm.blackbox`, to explicitly prevent constprop, die, etc optimizations
I think the idea is to model the intrinsic as a normal external function
call:
- Can read/write escaped memory
- Escapes pointer args
- Functionattrs cannot infer anything about it
- Returns a pointer which may alias any escaped data
It's obvious how this works at the IR level, but I'm not sure what would
happen in the backend. If you compile the intrinsic to nothing but a
virtual
2004 Feb 06
2
Normality Test on several groups
Hi,
I use ks.test or lillie.test to verify a normal distribution. It's performed
for a group
My users use SigmaStat software and a One Way ANOVA on several groups
In the result page there is a probability value to determine if Normality
test is failed or passed
So, how can i retrieve this probability value on several groups?
Is there another function in R to verify normality on several
2015 Nov 11
5
[RFC] A new intrinsic, `llvm.blackbox`, to explicitly prevent constprop, die, etc optimizations
On Wed, 11 Nov 2015 11:13:43 -0800, Daniel Berlin via llvm-dev wrote:
<snip for gmane>
> Heck, i could even reason about inline asm if i wanted to ;-).
>
> My point is that this call is super special compared to all other
> calls,
> and literally everything in LLVM has to understand that.
> The liklihood of subtle bugs being introduced in functionality (IE
>
2009 Dec 23
7
String question
Hi to all
I need a string like
temp <- paste("m1","m2","m3",sep=",")
But i must know how many items are in the string,afterwards
the other option would be to use a vector
temp <- c("m1","m2","m3")
No problem to get the count of items but I must get afterwards the
string "m1,m2,m3"
No problem to build the
2010 Feb 23
5
deleting column from data frame
Hi to all,
test <- data.frame("X"=c(1:4),"Y"=c(5:8),"Z"=c(8:11))
test <- test[,-2]
Is there a way to specify the col name "Y" to delete instead the number?
Kind regards Knut
2006 Feb 17
4
showing the integrated number by point size
Is there any function to show the points like this example of SPSS?
http://biostatistic.de/temp/reg.jpg
The point size should represent the number of data at this point.
with regards
Knut Krueger
2009 Apr 06
5
Search for a graph package - see link
Hi to all,
does anybody knows whether there is a package to plot those
http://www.equine-science.de/temp/graph.jpg
graphs.
the thickness of the points and/or the lines should be represent the
numbers of behaviours
With kind regards Knut