Displaying 20 results from an estimated 10000 matches similar to: "Help needed: Recuperate return addresses of virtual and non virtual C++ functions with Clang and LLVM"
2016 Dec 16
0
Help needed: Recuperate return addresses of virtual and non virtual C++ functions with Clang and LLVM
I am working with this setup: LLVM+Clang Compiler on an Ubuntu 64bit OS.
Questions:
Is it possible to get the return addresses of virtual function call
and non virtual C++ methods inside Clang and LLVM.
Is thre a way to get the candidate addresses where the return address
points back after each function return was performed.
I have a few questions and hopefully you guys can help me out.
The
2016 Dec 21
0
*********Recuperate return addresses of virtual and non virtual C++ functions with Clang and LLVM
I am working with this setup: LLVM+Clang Compiler on an Ubuntu 64bit OS.
Questions:
Is it possible to get the return addresses of virtual function call
and non virtual C++ methods inside Clang and LLVM.
Is thre a way to get the candidate addresses where the return address
points back after each function return was performed.
I have a few questions and hopefully you guys can help me out.
The
2011 Feb 08
1
Recuperate Spectrum() amplitude
Dear list,
I apologies first for my English, hope you will understand well my question.
I am working on 1/2 hour piezometric data, time unit is second. They
present daily oscillation when using the spectrum() function. What I am
really interested in, is to find the amplitude corresponding to this
oscillation.
I work with a college using Matlab, and although we apply the same
methodology, our
2016 Dec 21
0
*********How to get during compile time the base class of casted C++ object inside static_cast<> and dynamic_cast<> and the pointer of the casted object
Hi Paul,
It is the 4th time in two weeks that you repost the exact same two emails, that’s a bit high repost rate for the mailing-list, especially considering that you already got answers that you ignored previously:
- http://lists.llvm.org/pipermail/llvm-dev/2016-December/108060.html
- http://lists.llvm.org/pipermail/llvm-dev/2016-December/108051.html
Adding an alternate email in case you
2016 Mar 13
2
LLVM-related research position at University of Cambridge Computer Lab
Hi all,
We are advertising a position for a research assistant / research
associate at the University of Cambridge Computer Lab, working with
LLVM targeting the Loki (http://www.cl.cam.ac.uk/~rdm34/loki/)
architecture. For full details please see
http://www.jobs.cam.ac.uk/job/9756/, though the 'meat' of the advert
is pasted below. The Loki project has been my main focus for a number
of
2016 Dec 21
0
*********How to get during compile time the base class of casted C++ object inside static_cast<> and dynamic_cast<> and the pointer of the casted object
> On Dec 21, 2016, at 8:38 AM, Paul <paul at sec.in.tum.de> wrote:
>
> Hi Mehdi,
>
> thanks a lot for your email. Actually I was disappointed by the fact that I was not able to get a useful answer to my two questions.
> As I observed that the questions move down along the list with time passing I decided to re-post them in the hope that the questions
> will have a
2016 Dec 13
1
help needed: How to get during compile time the base class of casted C++ object inside static_cast<> and dynamic_cast<> and the pointer of the casted object
I want to detect bad casts in C++ code by using the Clang
compiler. The approach is similar to what Caver and TypeSan do but
without using the compiler-rt.
Caver and TypeSan:
https://www.usenix.org/system/files/conference/usenixsecurity15/sec15-paper-lee.pdf
https://nebelwelt.net/publications/files/16CCS2.pdf
For example if I have the following C++ code snippet where I want to
cast object b into
2006 Nov 09
1
optimize function with integral form ?
Hi all,
Does anybody have the experience of using optim to estimate variables with integral forms?
here the code:
trun.mean<- function(x) # t is the threshold
{
mu=x[1];
sigma=x[2];
t=x[3];
f <- function(x) (1/(sigma*sqrt(2*pi)))*exp(-(x-mu)^2/(2*sigma^2));
pdf.fun <- function(x) x*f(x);
integrate(f,thre,upper=Inf)$value/integrate(pdf.fun,thre,upper=Inf)$value ;
}
when I
2016 Dec 21
2
*********How to get during compile time the base class of casted C++ object inside static_cast<> and dynamic_cast<> and the pointer of the casted object
I want to detect bad casts in C++ code by using the Clang
compiler. The approach is similar to what Caver and TypeSan do but
without using the compiler-rt.
Caver and TypeSan:
https://www.usenix.org/system/files/conference/usenixsecurity15/sec15-paper-lee.pdf
https://nebelwelt.net/publications/files/16CCS2.pdf
For example if I have the following C++ code snippet where I want to
cast object b into
2012 Dec 05
3
enable HA on xcp 1.6
Hi all,
today i tried to enable HA on xcp 1.6 but when i enable it through xencenter
I received the following error in xensource.log:
Dec 5 17:56:26 xcp1 xapi: [ info|xcp1|490661|Async.pool.enable_ha
R:9119ce88ffcb|xapi_ha] Using statefile: /etc/xensource/static-vdis/0/disk
Dec 5 17:56:26 xcp1 xapi: [debug|xcp1|490661|Async.pool.enable_ha
R:9119ce88ffcb|xapi_ha]
2007 May 23
1
name of object in quotes
I am writing a function in which, at some point, I to recuperate the
name of a previous object in quotes. I am currently using the function
Cs() from the Hmisc library but the result is:
foo <- function(xvar) {
variable <- Cs(xvar)
return(variable)
}
foo(x1)
> "xvar"
when I would expected to obtain "x1".
Any suggestion?
Thanks
--
*Gonzalo Rivero*
Ph.D.
2011 Jun 18
1
Required libraries
Hi all,
I´m trying to "recuperate" old files I wrotte and I´m trying to execute on R
version 2.13.0 (2011-04-13), the thing is I execute my old file and nothing
happens...I suposse I need to install some library but there no appears no
message, no text telling "required grafics library" or something like that.
How can I see wich libraries need to execute a file?
Many thanks
2009 May 13
1
access to the current element of lapply
Dear All,
I would like to use the 'split' function on the dataframe elements contained in a list L.
For example :
> (df <- data.frame(cbind(c(rep('A',2), rep('B',2)), rep(1:4))))
X1 X2
1 A 1
2 A 2
3 B 3
4 B 4
> (L<-split(df, df$X1))
$A
X1 X2
1 A 1
2 A 2
$B
X1 X2
3 B 3
4 B 4
Now, I would like to split EACH data frame, ie, according to
2010 Feb 12
1
aggregate: with 2 by variables in the result the 2nd by-variable is wrong (PR#14213)
Full_Name: Franz Quehenberger
Version: 2.10.1
OS: Windows XP
Submission from: (NULL) (145.244.10.3)
aggregate is supposed to produce a data.frame that contains a line for each
combination of levels of the variables in the by list. The first columns of the
result contain these combinations of levels. With two by variables the second
by-variable takes always only one value. However, it works fine
2009 Apr 08
3
order transfers by file size
Is it possible to have rsync order transfers by file size (smallest
files first) ?
Would it be a big patch ?
Thanks
Viki
2011 May 08
2
Pretty printing numbers
Friends
I am trying to format a number to a string so 2189.745 goes to "2,189.35"
and 309283.929 goes to "309,283.93"
I have tried to use formatC(X, big.mark=",",drop0trailing=FALSE, format="f")
but it does not get the number of decimals correct. Specifying digits does
not work as that is significant digits. I could use a switch statement
switching on
2007 Oct 06
3
list matching
Dear list,
Given a list of elements like:
aa <- list(one=c("o", "n", "e"),
tea=c("t", "e", "a"),
thre=c("t", "h", "r", "e"))
Is there a function that returns the intersection between all?
Both match() and intersect() only deal with two arguments, but sometimes I
2012 Apr 24
2
Some Help Needed
Dear all,
I need to do some calculation where the code used are below. I get
error message when I choose k to be large, say greater than 25.
The error message is
"Error in integrate(temp, lower = 0, upper = 1, k, x, rho, m) :
the integral is probably divergent".
Can anyone give some help on resolving this. Thanks.
Hannah
m <- 100
alpha <- 0.05
rho <- 0.1
F0
2006 Sep 08
2
subsetting a data set
I have a data set called GQ1, which has 20 variables one of which is a
factor called Status at thre levels "Expert", "Ecol" and "Stake"
I have managed to evaluate some of the data split by status using commands
like:
summary (Max[Status=="Ecol"])
BUT how do I produce asummary for Ecol and Expert combined, the only
example I can find suggsts I could use
1999 Dec 06
1
Problems with X11 - device
I started the graphics device with X11(). When I tried to plot a tree object
with
> plot (tree)
It gives me the error message:
Error in plot.window(xlim, ylim, log, asp, ...) : invalid xlim
I was looking in the manual under "plot", "plot.window", etc. but I didn't
really get the resolution of my problem.....
What's the problem?
I'm runnig R on a SuSE 6.0