Displaying 20 results from an estimated 30000 matches similar to: "[LLVMdev] Best place to implement support for a custom binary format?"
2014 Jan 09
0
Re: Best practice for custom iptables rules
On 01/09/2014 12:38 PM, ZeroUno wrote:
> Il 08/01/14 16:17, Laine Stump ha scritto:
>
>> On 01/08/2014 01:43 PM, ZeroUno wrote:
>>> Also, regarding the "iptables restart problem" described in the last
>>> paragraph at <http://libvirt.org/firewall.html>, is there really no
>>> acceptable way to make libvirt add its rules back automatically upon
2014 Jan 09
5
Re: Best practice for custom iptables rules
Il 08/01/14 16:17, Laine Stump ha scritto:
> On 01/08/2014 01:43 PM, ZeroUno wrote:
>> Also, regarding the "iptables restart problem" described in the last
>> paragraph at <http://libvirt.org/firewall.html>, is there really no
>> acceptable way to make libvirt add its rules back automatically upon
>> iptables/network restart?
>
> Take a look at
2012 Jun 21
3
Question about best practices for custom facts in puppet
We''re running puppet 2.7.11 and facter 1.6.1. We''re at a point where we
need to start having some custom facts for our environment but we''re not
sure the best way to go around it, so I''m looking for feedback from the
community.
I''ve setup custom facts with facter now and have successfully polled these
and also proven that the puppet clients have
2018 Apr 01
0
Custom Binary Format Challenges
Hi,
You can write it as if you are writing an optimization pass:
http://llvm.org/docs/ProgrammersManual.html
It sounds like your highest level is a module, hence you should write a
module pass. There is example code on LLVM Programmer's Manual on how to do
a function pass:
Function* targetFunc = ...;
class OurFunctionPass : public FunctionPass {
public:
OurFunctionPass():
2018 Apr 01
2
Custom Binary Format Challenges
Hello,
I hope you are all doing well and thanks in advance. I need to program a
transformation of a set of llvm bitcode to have some various techniques
woven in. In particular, I need to resolve a given computed target address
to one of several in the same way that the function of a dynamic library is
resolved, but I need this resolution to happen in the binary target of my
choice where I tell
2018 Apr 01
0
Custom Binary Format Challenges
Hi Kenneth,
Can you elaborate what you mean by instruction pointer value? Like the
actual instruction with opcode and operands? With the sample code that I
showed you, the instrucrtion pointer in the innermost for loop will have
access to the following functions:
http://llvm.org/doxygen/classllvm_1_1Instruction.html
Alternatively, you can use the dump() operation to dump the instructions
out.
2018 Apr 02
0
Custom Binary Format Challenges
If you can write what you want to output in C with asm statements, clang
can show you what the IR should look like.
On Mon, Apr 2, 2018 at 7:35 AM, Kenneth Adam Miller via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Program counter - EIP, RIP for x86/64. I need to obtain it and pass it as
> an argument to the function that calculates an ordinal from it.
>
> I think that
2018 Apr 01
2
Custom Binary Format Challenges
Thank you so much!
What about discovering the instruction pointer value?
Also, does anybody know how to embed an artifact as a resource in a binary?
I'd like to have two text sections, and have one copied in from another
binary.
On Sun, Apr 1, 2018 at 2:15 PM, Brenda So <sogun3 at gmail.com> wrote:
> Hi,
>
> You can write it as if you are writing an optimization pass:
>
2018 Apr 02
1
Custom Binary Format Challenges
The bitcode is only a representation of the IR, which is in SSA form. And
SSA form assumes an infinite amount of registers, which is not offered by
x86. When bitcode gets assembled/compiled to machine language, it breaks
down the SSA form into non-SSA format. Personally I don't know how to use
bitcode language to achieve what you want to do.
The closest thing I can think of is the llvm-MC
2018 Apr 01
2
Custom Binary Format Challenges
Program counter - EIP, RIP for x86/64. I need to obtain it and pass it as
an argument to the function that calculates an ordinal from it.
I think that there must be some way to use the bitcode language to place
byte values at a designated offset. Or use the command line to specify the
section and offset for the data.
On Sun, Apr 1, 2018 at 6:00 PM, Brenda So <sogun3 at gmail.com> wrote:
2014 Jan 08
2
Best practice for custom iptables rules
Hi,
I'm using libvirt to manage some VMs on a CentOS host, and I need some
custom iptables rules to always be in place for some communications to
happen, e.g. between the VMs and the outside world in both directions.
Some of these rules need to be at the top of the iptables chain,
otherwise the default rules added by libvirt would block the
communications I need.
So I cannot just add the
2018 Jun 25
4
Best way to update ever changing dialplans
I am working on a system where I connect to an external API and based on
what it gives me I generate the Asterisk dial plan accordingly. I am
thinking about my different options and wanted feedback from others on how
to best do it.
1) Generate conf files for Asterisk - This seems the easiest but then I
will be doing a dial plan reload on all of my dial plan for handful of
lines of code. The plus
2002 Jul 01
3
Best quality setting for mp3 transcoded old radio shows
Hi,
I have a bunch of old radio programs (mystery/drama shows, not music)
encoded at 32 kbit (and some 48kbit) mp3 (mono). I want to reencode
them in ogg and make them available over gnutella.
My question is this. What is the best quality level (-q) for
transcoding them. I want to preserve quality, but I want to be
sensitive to the many modem based gnutella users. I also want to to
2015 Oct 01
0
Verifying backups
"Ronald F. Guilmette" <rfg at tristatelogic.com> wrote:
> P.S. I really do hope that I can get this to work with rsync.
> I do prefer not reinventing the wheel, but it is starting to seem
> simpler to me if I were to just write a Perl script that would
> walk two directory hierarchies, in parallel, and just repeatedly
> invoke the cmp command on all of the regular
2008 Dec 02
0
Best route for has_many subrecords
Hello all,
I have a model, say it''s called Person, which has_many Responsibilities. I
would like the "show" view for the person controller to list all of the
responsibilities for that person. (That''s the easy part -- I think I know
how to do that part.) At the end of the list, I would like to include a
text field into which a new responsibility may be added. What
2018 Jun 28
0
Re: [PATCH nbdkit] tls: Implement Pre-Shared Keys (PSK) authentication.
On Thu, Jun 28, 2018 at 10:18:25AM -0500, Eric Blake wrote:
> On 06/25/2018 12:01 PM, Richard W.M. Jones wrote:
> > ---
> > docs/nbdkit.pod.in | 45 +++++++++--
> > src/crypto.c | 234 +++++++++++++++++++++++++++++++++++++----------------
> > src/internal.h | 1 +
> > src/main.c | 8 +-
> > 4 files changed, 210 insertions(+), 78
2007 Sep 18
1
The use for an XML based metadata format
On 13/09/2007, Ralph Giles <giles@xiph.org> wrote:
> On Tue, Sep 11, 2007 at 09:33:43AM +0900, Conrad Parker wrote:
>
> > For CMML, we first tried just using raw XML from byte 0 but later opted for
> > using a binary header with magic identifier in the first (bos) packet
> > for these reasons.
>
> Can you give a little more on why you made this decision? I see
1999 Jan 23
3
What kind of system works best?
If any of you recall, I sent a message before regarding issues with a
100 client-based Samba server. After speaking with the company I'm
working with and showing them some of the replies, they are enthusiastic
about the system, and we're all looking forward to seeing it working.
Thank you for all your replies and for your help. There were quite a
few replies, and I can't get a
2006 Oct 10
0
Best way to do simple Samba for very small office.
Hi there,
My experience: I've used Samba on a couple of servers at home in
which security isn't an issue, and I've used WinBind & PAM to
authenticate a Linux mailserver from a Windows domain. I'm quite
confident about installing Samba & setting up simple shares, I can
follow a howto & even do advanced trouble-shooting but I have no
experience with many of the
2018 Jun 28
1
Re: [PATCH nbdkit] tls: Implement Pre-Shared Keys (PSK) authentication.
On Thu, Jun 28, 2018 at 6:56 PM Daniel P. Berrangé <berrange@redhat.com>
wrote:
> On Thu, Jun 28, 2018 at 10:18:25AM -0500, Eric Blake wrote:
> > On 06/25/2018 12:01 PM, Richard W.M. Jones wrote:
> > > ---
> > > docs/nbdkit.pod.in | 45 +++++++++--
> > > src/crypto.c | 234
> +++++++++++++++++++++++++++++++++++++----------------
> > >