caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Kenneth Adam Miller <kennethadammiller@gmail.com>
To: caml users <caml-list@inria.fr>
Subject: Re: [Caml-list] Using binary analysis platform library
Date: Tue, 18 Nov 2014 15:30:24 -0500	[thread overview]
Message-ID: <CAK7rcp9X7b5Ycyriq3TPjOEzO3ETCqppuO1LwpoCDSkLda35Yg@mail.gmail.com> (raw)
In-Reply-To: <CALdWJ+xUjaGCLdoPe=dTq=6o3zsQ_1HGz7B7Ov+3QC0iahZyGQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2426 bytes --]

Yeah, I tried to email them, but I couldn't get through to them. If you can
explain how I can get through to be approved that would be helpful. I
thought the bap list was better, but  I can't email to it.

At the current moment, I got the tidbit about stmt lists in  piqi, I
figured that out. Now I just need to get the piqi compiler to produce
equivalent types to what bap is compiled with by importing the module
instead of copying the piqi files and including them; ocaml compiler is
producing equivalent type definitions that are masked under different
module names. My whole compilation has bap-0.8/ and BAP-Service under the
same parent directory; when I try to import in piqi, I can't do ../

On Tue, Nov 18, 2014 at 3:22 PM, Ivan Gotovchits <ivg@ieee.org> wrote:

> Actually is is a good idea to look at the examples in a new BAP repository
>
>
> https://github.com/BinaryAnalysisPlatform/bap/blob/master/lib/bap_types/stmt.piqi
>
>
> In general, list can be declared as:
>
> .list [
>   .name stmt-list
>   .type stmt
> ]
>
> Also, there is a BAP-specific list that is more suited for this kind of
> questions.
>
>
> On Tue, Nov 18, 2014 at 3:15 PM, Kenneth Adam Miller <
> kennethadammiller@gmail.com> wrote:
>
>> Actually, I already discovered the function that I was looking for.
>>
>> Can anybody tell me how you declare a list of a certain type in piqi?
>>
>> On Tue, Nov 18, 2014 at 3:01 PM, Kenneth Adam Miller <
>> kennethadammiller@gmail.com> wrote:
>>
>>> I have a single use case, and its complicated by my clumsiness and new
>>> relationship with ocaml. I'm not sure how to query libraries for various
>>> restrictions:
>>>
>>> Basically, I'm writing a piqi based rpc service; the toil utility (utils/
>>> toil.ml) can be used to parse some string arguments, read a file from
>>> the name given on the command line, and then output the BIL to stdout. I
>>> want to link with it as though it were a library in order that the returned
>>> data structured can be reasoned about in other languages.
>>>
>>> I have all the other parts-piqi build environment, compilation, setup;
>>> all I need is a good way to find a transform that accepts a string filename
>>> and returns a type of stmt. I'm not sure who all is familiar with BAP, but
>>> I think it's worth a try to ask if anybody knows exactly what I'm looking
>>> for, or the utility to find out.
>>>
>>>
>>> BAP: https://github.com/argp/bap
>>>
>>
>>
>

[-- Attachment #2: Type: text/html, Size: 3795 bytes --]

      parent reply	other threads:[~2014-11-18 20:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-18 20:01 Kenneth Adam Miller
2014-11-18 20:15 ` Kenneth Adam Miller
2014-11-18 20:20   ` Kenneth Adam Miller
     [not found]   ` <CALdWJ+xUjaGCLdoPe=dTq=6o3zsQ_1HGz7B7Ov+3QC0iahZyGQ@mail.gmail.com>
2014-11-18 20:30     ` Kenneth Adam Miller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAK7rcp9X7b5Ycyriq3TPjOEzO3ETCqppuO1LwpoCDSkLda35Yg@mail.gmail.com \
    --to=kennethadammiller@gmail.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).