Skip to contentSkip to conversation

CTF writer in Java

DISCUSSION Jonathan Rajotte-Julien 2 participants 2 messages May 6, 2019 – Sep 6, 2019 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi Lea,

Quoted 11 lines · Lea Brunschwig

Hello,

I am working on a Java API that permits to create UML state machine and to run them. I have created a Java interface allowing to implement customizable trace for this tool: the user can implement its own way to gather information from the execution for instance print in the console via System.out.println() or print in a xml file, etc...

In the scope of the project I am working on I would like to provide the users a Java class implemeting my interface with the CTF format but I can not manage to find a code able to write a CTF trace in Java. Does such a code exist?

lttng-ust provides JUL and log4j java agents that leverage the current lttng stack.

https://lttng.org/docs/v2.10/#doc-java-application

We do not provide a Java CTF writer as is AFAIK.

Cheers.

Quoted 12 lines

Since CTF traces seem to be really specific I do not want to intent to write my own version of a CTF trace because I am scared it would not be accurate and would not work with the already existing CTF readers.

Thank you in advance.
Léa Brunschwig

_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Signature · 2 lines
Jonathan Rajotte-Julien
EfficiOS

A message that is not in the archive (sent off-list or not yet received): 20190506132639.GA12560@joraj-alpa

#3 lore raw

Hi Lea,

Trace Compass has some branches that try out CTF writing, I would like to know, are you looking to trace your execution (JUL log into LTTng is the best answer there) or do you want to output results of a simulation to CTF? in that case, maybe we can help.

Matthew
________________________________
From: lttng-dev <[email protected]> on behalf of Jonathan Rajotte-Julien <[email protected]>
Sent: Monday, May 6, 2019 9:26 AM
To: Lea Brunschwig <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: [lttng-dev] CTF writer in Java

Hi Lea,

Quoted 11 lines · Lea Brunschwig

Hello,

I am working on a Java API that permits to create UML state machine and to run them. I have created a Java interface allowing to implement customizable trace for this tool: the user can implement its own way to gather information from the execution for instance print in the console via System.out.println() or print in a xml file, etc...

In the scope of the project I am working on I would like to provide the users a Java class implemeting my interface with the CTF format but I can not manage to find a code able to write a CTF trace in Java. Does such a code exist?

lttng-ust provides JUL and log4j java agents that leverage the current lttng stack.

https://protect2.fireeye.com/url?k=17ffaa63-4b767024-17ffeaf8-0cc47ad93e96-93494158a8a39a6e&u=https://lttng.org/docs/v2.10/#doc-java-application

We do not provide a Java CTF writer as is AFAIK.

Cheers.

Quoted 5 lines

Since CTF traces seem to be really specific I do not want to intent to write my own version of a CTF trace because I am scared it would not be accurate and would not work with the already existing CTF readers.

Quoted 7 lines

Thank you in advance.
Léa Brunschwig

_______________________________________________
lttng-dev mailing list
[email protected]
https://protect2.fireeye.com/url?k=d7cdd732-8b440d75-d7cd97a9-0cc47ad93e96-efdf3fabe4e12a0a&u=https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

--
Jonathan Rajotte-Julien
EfficiOS
_______________________________________________
lttng-dev mailing list
[email protected]
https://protect2.fireeye.com/url?k=2d4debf7-71c431b0-2d4dab6c-0cc47ad93e96-b75580c67b316f90&u=https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev