Displaying 20 results from an estimated 600 matches similar to: "[LLVMdev] Testing canaries"
2013 Jan 28
0
[LLVMdev] Testing canaries
Dear Duncan,
thank you very much. I have been able to use it now, via the following
command line:
clang -emit-llvm -c -fstack-protector canary.c -o canary.bc
llc -print-before=stack-protector -print-after=stack-protector -o
canary.s < canary.bc
Thank you again,
Izabela Maffra.
On 26 January 2013 15:55, <llvmdev-request at cs.uiuc.edu> wrote:
> Send LLVMdev mailing
2013 Feb 19
1
[LLVMdev] Problem to run SPEC2006
Actually I am trying to run SPEC2006 through the Makefiles provided with
LLVM Test Suite, so I think it should work properly...
On 18 February 2013 15:49, Adhemerval Zanella
<azanella at linux.vnet.ibm.com>wrote:
> I can't really tell what is happening based on this output, but 'make' is
> not the right way
> to build SPECcpu2006 components. You need to do either by
2013 Mar 03
1
[LLVMdev] Can a Function Pass require a Module Pass?
Dear LLVMers,
I am implementing a Function Pass and I would like to use analysis obtained
from a Module Pass. Some extracts of my code look like that:
struct MyPass : public FunctionPass {
static char ID;
MyPass() : FunctionPass(ID) {
PADriver &PD = getAnalysis<AModulePass>();
...
virtual void getAnalysisUsage(AnalysisUsage &AU) const{
2013 Feb 18
2
[LLVMdev] Problem to run SPEC2006
Dear LLVMers,
I am having trouble to run SPEC2006. I have checked in my log file that the
spec root has been correctly found with ./configure, but when I try:
make TEST=simple
in the External folder I get the following error:
make -C /home/izabela/svn_llvm/llvm/projects/test-suite/tools all \
ORIGINAL_CC="clang" \
ORIGINAL_CXX="clang"
make[1]: Entering directory
2013 Feb 18
0
[LLVMdev] Problem to run SPEC2006
I can't really tell what is happening based on this output, but 'make' is not the right way
to build SPECcpu2006 components. You need to do either by using the supplied 'runspec'
command with '-build' action directive or to issue the 'specmake' (which is a
make adjusted by spec.org) on the build component folder.
I can build 433.milc on PPC64 with clang without
2015 Jul 22
2
[LLVMdev] (no subject)
Hello,
I have tried a lot fix this error but am not able to can you please
find me a solution am trying to compile the SAFECode in Cygwin Environment
to work for windows.
used make -j4 command to make the files in cygwin i have got this error
make[5]: Leaving directory
'/home/uidr7475/Work/LLVM_OBJ/projects/safecode/tools/clang/include'
/usr/bin/cp: cannot stat
2012 Mar 10
0
[LLVMdev] Stack protector performance
If you compile this with optimizations, then the 'canary()' function should be totally inlined into the 'main()' function. In that case, the cost of the stack protectors will be very small compared to the loop.
-bw
On Mar 9, 2012, at 2:52 AM, Job Noorman <jobnoorman at gmail.com> wrote:
> I have a question about the performance of the implementation of the stack
>
2012 Mar 09
3
[LLVMdev] Stack protector performance
I have a question about the performance of the implementation of the stack
protector in LLVM.
Consider the following C program:
=====
void canary()
{
char buf[20];
buf[0]++;
}
int main()
{
int i;
for (i = 0; i < 1000000000; ++i)
canary();
return 0;
}
=====
This should definately run slower when stack protection is enabled, right?
I have measured the runtime of
2016 Mar 22
2
GSoC and SAFECode
John Criswell wrote:
> If you're interested in SAFECode, the first step is to get SAFECode
> working with a newer version of LLVM. A Master's student did some
> work on this last summer with LLVM 3.7 but didn't finish. It would
> now need to be updated to LLVM 3.8 (though I suppose a completed LLVM
> 3.7 port would be fine with me).
>
> After that, there are
2012 Oct 02
5
[LLVMdev] [PROPOSAL] Adding support for -fstack-protector-strong
Hello,
I plan to implement "Stack Smashing Protection - Strong" support in LLVM.
Below is a description of this feature and an overview of the implementation
plan. I have divided up the implementation into stages that can be delivered
incrementally.
I'm looking for any feedback (suggestions, requests, etc) before I actually
begin the work.
Thank you!
Josh
2012 Oct 02
0
[LLVMdev] [PROPOSAL] Adding support for -fstack-protector-strong
On 10/1/12 9:26 PM, Magee, Josh wrote:
> Hello,
>
> I plan to implement "Stack Smashing Protection - Strong" support in LLVM.
> Below is a description of this feature and an overview of the implementation
> plan. I have divided up the implementation into stages that can be delivered
> incrementally.
>
> I'm looking for any feedback (suggestions, requests,
2011 Jul 20
2
[LLVMdev] Question about SimplifyXorInst
Hi all,
I am master student in Edinburgh, UK. I am doing my MSc project with
LLVM compiler and I have to modify LLVM to implement the StackGuard
with a XOR random Canary. However, I am not familiar with LLVM.
My problem is that I want to XOR the random canary word with the
return address which are both 32 bits. I found a method called
SimplifyXorInst(Value *, Value *, const TargetData
2013 Jan 31
2
[LLVMdev] Getting command line options to affect subtarget features
On Thu, 2013-01-31 at 09:42 -0600, Hal Finkel wrote:
> ----- Original Message -----
> > From: "Bill Schmidt" <wschmidt at linux.vnet.ibm.com>
> > To: llvmdev at cs.uiuc.edu
> > Sent: Thursday, January 31, 2013 9:26:15 AM
> > Subject: [LLVMdev] Getting command line options to affect subtarget features
> >
> > The problem I'm trying to
2013 Jan 31
2
[LLVMdev] Getting command line options to affect subtarget features
On Thu, 2013-01-31 at 11:23 -0600, Bill Schmidt wrote:
> On Thu, 2013-01-31 at 10:17 -0600, Bill Schmidt wrote:
> >
> > On Thu, 2013-01-31 at 09:42 -0600, Hal Finkel wrote:
> > > ----- Original Message -----
> > > > From: "Bill Schmidt" <wschmidt at linux.vnet.ibm.com>
> > > > To: llvmdev at cs.uiuc.edu
> > > > Sent:
2013 Jan 31
0
[LLVMdev] Getting command line options to affect subtarget features
On Thu, 2013-01-31 at 10:17 -0600, Bill Schmidt wrote:
>
> On Thu, 2013-01-31 at 09:42 -0600, Hal Finkel wrote:
> > ----- Original Message -----
> > > From: "Bill Schmidt" <wschmidt at linux.vnet.ibm.com>
> > > To: llvmdev at cs.uiuc.edu
> > > Sent: Thursday, January 31, 2013 9:26:15 AM
> > > Subject: [LLVMdev] Getting command line
2008 Dec 27
5
[LLVMdev] Controlling the stack layout
Hi everyone,
As a front-end developer, I'd like to add a language-specific
information at a fixed location of each stack frame. The reason is that
I want to retrieve this information when dynamically walking the stack.
For example, X86 has the following stack layout for a function with two
arguments and two locals:
12(%ebp) - second function parameter
8(%ebp) - first function
2013 Jan 31
0
[LLVMdev] Getting command line options to affect subtarget features
On Thu, 2013-01-31 at 11:29 -0600, Bill Schmidt wrote:
> On Thu, 2013-01-31 at 11:23 -0600, Bill Schmidt wrote:
> > On Thu, 2013-01-31 at 10:17 -0600, Bill Schmidt wrote:
> > >
> > > On Thu, 2013-01-31 at 09:42 -0600, Hal Finkel wrote:
> > > > ----- Original Message -----
> > > > > From: "Bill Schmidt" <wschmidt at
2013 Jan 31
2
[LLVMdev] Getting command line options to affect subtarget features
The problem I'm trying to solve: Invoking clang on PowerPC with
-fno-altivec has no effect.
>From what I've been able to piece together, PPC.td specifies various
CPUs and the processor features available on each. So for example we
have:
def FeatureAltivec : SubtargetFeature<"altivec","HasAltivec", "true",
2015 Apr 09
2
[LLVMdev] __sync_add_and_fetch in objc block for global variable on ARM
Hi Tim
----------------------------------------
> Date: Wed, 8 Apr 2015 06:53:44 -0700
> Subject: Re: [LLVMdev] __sync_add_and_fetch in objc block for global variable on ARM
> From: t.p.northover at gmail.com
> To: alexey.perevalov at hotmail.com
> CC: llvmdev at cs.uiuc.edu
>
>> in disas I see dmb ish instruction, but I don't know is it enough.
>
> There should
2013 Jan 31
0
[LLVMdev] Getting command line options to affect subtarget features
----- Original Message -----
> From: "Bill Schmidt" <wschmidt at linux.vnet.ibm.com>
> To: llvmdev at cs.uiuc.edu
> Sent: Thursday, January 31, 2013 9:26:15 AM
> Subject: [LLVMdev] Getting command line options to affect subtarget features
>
> The problem I'm trying to solve: Invoking clang on PowerPC with
> -fno-altivec has no effect.
>
> From what