search for: quarkslab

Displaying 17 results from an estimated 17 matches for "quarkslab".

2018 Jan 19
0
[job] LLVM compiler engineer job opportunity at QuarksLab
Dear compiler enthousiasts, the Epona[0] compiler team from Quarkslab is looking for a compiler enthusiast to work on LLVM bitcode obfuscation. The full job description is available here: https://quarkslab.com/#epona-engineer It's a job that requires creativity to design new code obfuscation, compiler skills to integrate them in our LLVM based compiler, te...
2017 Jan 16
2
[PATCH v2] virtio_console: fix a crash in config_work_handler
...(&portdev->config_work, &config_work_handler); It leads to a crash when portdev->vdev is dereferenced later. This bug is triggered when the guest uses a virtio-console without multiport feature and receives a config_changed virtio interrupt. Signed-off-by: G. Campana <gcampana at quarkslab.com> --- drivers/char/virtio_console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c index 8b00e79..17857be 100644 --- a/drivers/char/virtio_console.c +++ b/drivers/char/virtio_console.c @@ -1862,7 +1862,7 @@ st...
2017 Jan 16
2
[PATCH v2] virtio_console: fix a crash in config_work_handler
...(&portdev->config_work, &config_work_handler); It leads to a crash when portdev->vdev is dereferenced later. This bug is triggered when the guest uses a virtio-console without multiport feature and receives a config_changed virtio interrupt. Signed-off-by: G. Campana <gcampana at quarkslab.com> --- drivers/char/virtio_console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c index 8b00e79..17857be 100644 --- a/drivers/char/virtio_console.c +++ b/drivers/char/virtio_console.c @@ -1862,7 +1862,7 @@ st...
2018 Jul 20
4
Relinking (syscall-free) ELF executable into Mach-O and PE executables
Hi, Let's suppose we have an ELF executable that doesn't issue any syscall (I mean, syscalls are issued from an external dynamic library, not from the executable, and we can ignore such dynamic library because we have the proper equivalent library with the proper syscalls in MacOS and Windows). So, the question: Is it "currently possible" (by "currently possible" I
2016 Jan 22
2
Testing an LLVM pass
Hi all, I’m currently writing an LLVM function pass and I want to know how can I test it? Currently, I try to compile some crypto library and check if the test suite are working but I don’t think this is very efficient. Does anyone has a leads? Greetings, Johan -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature
2015 Mar 02
2
[LLVMdev] clang change function name
On Mon, Mar 02, 2015 at 12:12:34AM -0500, John Criswell wrote: > On 3/2/15 12:07 AM, Haopeng Liu wrote: > >Got it, thanks. But in my pass, I use function name to locate. Can I > >disable mangling in clang? > > No, but you can probably fine a library that can either mangle the original > name or demangle the name you're seeing in the LLVM bitcode. > > As an FYI,
2018 Jan 08
0
LLVM Weekly - #210, Jan 8th 2018
...ld on April 16-17 in Bristol, UK. The submission deadline is February 9th. The release branch for 6.0.0 has been created and [trunk is now 7.0.0](http://lists.llvm.org/pipermail/llvm-dev/2018-January/120090.html). The first release candidate isn't scheduled until Jan 17th. [QDBI](https://qbdi.quarkslab.com/) is a new open-source LLVM-based Dyanmic Binary Instrumentation Tools from QuarksLab. You can find out more from this [recent 34C3 talk](https://media.ccc.de/v/34c3-9006-implementing_an_llvm_based_dynamic_binary_instrumentation_framework). Dan Liew has open sourced [JFS](https://github.com/de...
2016 May 10
2
Some questions about phase ordering in OPT and LLC
> >> You can look at AddOptimizationPasses() in opt.cpp. > > > > As far as I understand, the two passmanager do not interleave their > > passes. It first runs all the function passes and below. Then all the > > module passes. So if you specify: > > > > opt -mymodulepass0 -myfunctionpass -mymodulepass1 > > > > What you actually get is:
2015 Nov 16
2
LLVM Weekly - #98, Nov 16th 2015
...playlist?list=PL_R5A0lGi1AA4Lv2bBFSwhgDaHvvpVU21) are now up, and will stay up. This includes [Chris Lattner and Joseph Groff's talk on Swift's IR](https://www.youtube.com/watch?v=Ntj8ab-5cvE). You can also find most of the slides [here](http://llvm.org/devmtg/2015-10/slides/). The folks at Quarkslab have also [posted a trip report](http://blog.quarkslab.com/llvm_dev_meeting.html). The big news this week is that code derived from NVIDIA's PGI Fortran compiler [is to be open-sourced and a production-grade Fortran front-end to LLVM produced](https://www.llnl.gov/news/nnsa-national-labs-team-...
2015 Nov 06
2
Repeated application of optimization passes
Within the LLVM pass manager infrastructure, suppose we have two transformation passes, pass A makes some improvements, then pass B does likewise, but this creates opportunities for pass A to create further improvements (e.g. suppose B was function inlining) so it's desirable to run A again. How does the LLVM pass manager currently deal with this? -------------- next part -------------- An
2017 Jan 16
0
[PATCH v2] virtio_console: fix a crash in config_work_handler
...&config_work_handler); > > It leads to a crash when portdev->vdev is dereferenced later. This bug > is triggered when the guest uses a virtio-console without multiport > feature and receives a config_changed virtio interrupt. > > Signed-off-by: G. Campana <gcampana at quarkslab.com> Reviewed-by: Amit Shah <amit.shah at redhat.com> Michael, can you please pick this up? Amit
2016 Mar 01
0
How to write a simple MachineFunctionPass
First you should learn how to write a pass and then a MachineFunctionPass. >From LLVM website, you can refer to http://llvm.org/docs/WritingAnLLVMPass.html And for outside pass, you can refer to http://adriansampson.net/blog/llvm.html It's a great article. And the author put the source code on Github <https://github.com/sampsyo/llvm-pass-skeleton>. 2016-03-01 14:36 GMT+08:00
2016 Mar 01
2
How to write a simple MachineFunctionPass
Hello everyone, I have written simple LLVM passes, but I cannot able to write a MachineFunctionPass pass. I am following the steps form the following link but it is not working: http://www.gabriel.urdhr.fr/2014/09/26/adding-a-llvm-pass/ Please share the sample MachineFunctionPass code or steps to follow to write MachineFunctionPass. Thanks, Bala -- Thanks, Bala IIITA Allahabad --------------
2016 Jan 14
4
LLVM-LIT config documentation?
Dear all, Recently I've considering using LIT for my benchmark testing framework, and the only reference for LLVM-LIT is the man page and some READMEs. I don't find any documentations on config, which seems to be quite important to the tool. If I use lit outside LLVM source tree and use on my own test files, LIT marks them as 'unresolved'. So are there any documentations I can
2020 Apr 22
3
_ExtInt, LLVM integers and constant time
> On Apr 22, 2020, at 12:24 AM, Roman Lebedev via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > On Wed, Apr 22, 2020 at 9:35 AM Adrien Guinet via llvm-dev > <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote: >> >> Hello everyone, >> >> After reading the nice blog post about _ExtInt, I was wondering whether >>
2015 Dec 02
5
Is there a way to pass Optimization passes to clang?
0 down vote favorite <http://stackoverflow.com/questions/34049511/how-to-pass-optimization-passes-to-clang#> I'm trying to debug an issue for a new target where a testcase fails with -O1 optimization and passes with -O0 optimization. I got a list of optimization passes being performed when 'clang -O1' is called like this: llvm-as < /dev/null | opt -O1 -disable-output
2017 Oct 18
18
RFC: Switching to the new pass manager by default
Greetings everyone! The new pass manager is getting extremely close to the point where I'm not aware of any significant outstanding work needed, and I'd like to see what else would be needed to enable it by default. Here are the current functionality I'm aware of outstanding: 1) Does not do non-trivial loop unswitching. Majority of this is in https://reviews.llvm.org/D34200 but will