happy man...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
22 messages Options
12
Reply | Threaded
Open this post in threaded view
|

happy man...

abergel
Hi !

Yesterday I spent about 30 minutes with a guy from microsoft to generate .mse from C#. We were able to extract the data and generate the mse. I was happy to have a blueprint complexity after such a short amount of time.

Usman, we use http://ccimetadata.codeplex.com for extracting the data. I can share the code if you wish.

Cheers,
Alexandre


--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.





_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: happy man...

Tudor Girba-2
Would you want to provide the code as open source?

Doru


On 23 Sep 2011, at 14:08, Alexandre Bergel wrote:

> Hi !
>
> Yesterday I spent about 30 minutes with a guy from microsoft to generate .mse from C#. We were able to extract the data and generate the mse. I was happy to have a blueprint complexity after such a short amount of time.
>
> Usman, we use http://ccimetadata.codeplex.com for extracting the data. I can share the code if you wish.
>
> Cheers,
> Alexandre
>
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
www.tudorgirba.com

"When people care, great things can happen."




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: happy man...

Usman Bhatti
Thats cool. Yeah, I would like to have a look at the code. When considered candidates for extracting C# program information, I considered CCI but then Mono.Cecil seemed more reasonable. But I would like to have a look at the code to compare the two implementations, as I haven't programmed in CCI since my PhD days.

thanx

Usman



On Fri, Sep 23, 2011 at 2:14 PM, Tudor Girba <[hidden email]> wrote:
Would you want to provide the code as open source?

Doru


On 23 Sep 2011, at 14:08, Alexandre Bergel wrote:

> Hi !
>
> Yesterday I spent about 30 minutes with a guy from microsoft to generate .mse from C#. We were able to extract the data and generate the mse. I was happy to have a blueprint complexity after such a short amount of time.
>
> Usman, we use http://ccimetadata.codeplex.com for extracting the data. I can share the code if you wish.
>
> Cheers,
> Alexandre
>
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
www.tudorgirba.com

"When people care, great things can happen."




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: happy man...

Stéphane Ducasse
In reply to this post by abergel
what model did you extract?
        inside methods?
        symbol resolved?
because get package, class and inheritance should be simple.


On Sep 23, 2011, at 2:08 PM, Alexandre Bergel wrote:

> Hi !
>
> Yesterday I spent about 30 minutes with a guy from microsoft to generate .mse from C#. We were able to extract the data and generate the mse. I was happy to have a blueprint complexity after such a short amount of time.
>
> Usman, we use http://ccimetadata.codeplex.com for extracting the data. I can share the code if you wish.
>
> Cheers,
> Alexandre
>
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: happy man...

Stéphane Ducasse
alex can you reply?

Stef

On Sep 23, 2011, at 2:46 PM, Stéphane Ducasse wrote:

> what model did you extract?
> inside methods?
> symbol resolved?
> because get package, class and inheritance should be simple.
>
>
> On Sep 23, 2011, at 2:08 PM, Alexandre Bergel wrote:
>
>> Hi !
>>
>> Yesterday I spent about 30 minutes with a guy from microsoft to generate .mse from C#. We were able to extract the data and generate the mse. I was happy to have a blueprint complexity after such a short amount of time.
>>
>> Usman, we use http://ccimetadata.codeplex.com for extracting the data. I can share the code if you wish.
>>
>> Cheers,
>> Alexandre
>>
>>
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: happy man...

abergel
Sorry, I missed this email
We simply extract the class declaration, attributes, methods and their invocations. We also say whether a method is public or not, whether it is abstract.

Nothing about the AST. Quite simple actually. The CCI looks quite expressive.

Alexandre


On 27 Sep 2011, at 04:49, Stéphane Ducasse wrote:

> alex can you reply?
>
> Stef
>
> On Sep 23, 2011, at 2:46 PM, Stéphane Ducasse wrote:
>
>> what model did you extract?
>> inside methods?
>> symbol resolved?
>> because get package, class and inheritance should be simple.
>>
>>
>> On Sep 23, 2011, at 2:08 PM, Alexandre Bergel wrote:
>>
>>> Hi !
>>>
>>> Yesterday I spent about 30 minutes with a guy from microsoft to generate .mse from C#. We were able to extract the data and generate the mse. I was happy to have a blueprint complexity after such a short amount of time.
>>>
>>> Usman, we use http://ccimetadata.codeplex.com for extracting the data. I can share the code if you wish.
>>>
>>> Cheers,
>>> Alexandre
>>>
>>>
>>> --
>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> Alexandre Bergel  http://www.bergel.eu
>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: happy man...

Stéphane Ducasse

On Sep 27, 2011, at 7:42 PM, Alexandre Bergel wrote:

> Sorry, I missed this email
> We simply extract the class declaration, attributes, methods and their invocations. We also say whether a method is public or not, whether it is abstract.
>
> Nothing about the AST. Quite simple actually. The CCI looks quite expressive.

But I do not understand how you can do invocations without AST analysis?
what is the license of CCI?

>
> Alexandre
>
>
> On 27 Sep 2011, at 04:49, Stéphane Ducasse wrote:
>
>> alex can you reply?
>>
>> Stef
>>
>> On Sep 23, 2011, at 2:46 PM, Stéphane Ducasse wrote:
>>
>>> what model did you extract?
>>> inside methods?
>>> symbol resolved?
>>> because get package, class and inheritance should be simple.
>>>
>>>
>>> On Sep 23, 2011, at 2:08 PM, Alexandre Bergel wrote:
>>>
>>>> Hi !
>>>>
>>>> Yesterday I spent about 30 minutes with a guy from microsoft to generate .mse from C#. We were able to extract the data and generate the mse. I was happy to have a blueprint complexity after such a short amount of time.
>>>>
>>>> Usman, we use http://ccimetadata.codeplex.com for extracting the data. I can share the code if you wish.
>>>>
>>>> Cheers,
>>>> Alexandre
>>>>
>>>>
>>>> --
>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>> Alexandre Bergel  http://www.bergel.eu
>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Moose-dev mailing list
>>>> [hidden email]
>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: happy man...

abergel
CCI does not operate on the AST, but on the symbols and bytecodes.

Alexandre


On 28 Sep 2011, at 03:04, Stéphane Ducasse wrote:

>
> On Sep 27, 2011, at 7:42 PM, Alexandre Bergel wrote:
>
>> Sorry, I missed this email
>> We simply extract the class declaration, attributes, methods and their invocations. We also say whether a method is public or not, whether it is abstract.
>>
>> Nothing about the AST. Quite simple actually. The CCI looks quite expressive.
>
> But I do not understand how you can do invocations without AST analysis?
> what is the license of CCI?
>
>>
>> Alexandre
>>
>>
>> On 27 Sep 2011, at 04:49, Stéphane Ducasse wrote:
>>
>>> alex can you reply?
>>>
>>> Stef
>>>
>>> On Sep 23, 2011, at 2:46 PM, Stéphane Ducasse wrote:
>>>
>>>> what model did you extract?
>>>> inside methods?
>>>> symbol resolved?
>>>> because get package, class and inheritance should be simple.
>>>>
>>>>
>>>> On Sep 23, 2011, at 2:08 PM, Alexandre Bergel wrote:
>>>>
>>>>> Hi !
>>>>>
>>>>> Yesterday I spent about 30 minutes with a guy from microsoft to generate .mse from C#. We were able to extract the data and generate the mse. I was happy to have a blueprint complexity after such a short amount of time.
>>>>>
>>>>> Usman, we use http://ccimetadata.codeplex.com for extracting the data. I can share the code if you wish.
>>>>>
>>>>> Cheers,
>>>>> Alexandre
>>>>>
>>>>>
>>>>> --
>>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>>> Alexandre Bergel  http://www.bergel.eu
>>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Moose-dev mailing list
>>>>> [hidden email]
>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>
>>>>
>>>> _______________________________________________
>>>> Moose-dev mailing list
>>>> [hidden email]
>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: happy man...

Usman Bhatti
In reply to this post by Stéphane Ducasse
On Wed, Sep 28, 2011 at 8:04 AM, Stéphane Ducasse <[hidden email]> wrote:

On Sep 27, 2011, at 7:42 PM, Alexandre Bergel wrote:

> Sorry, I missed this email
> We simply extract the class declaration, attributes, methods and their invocations. We also say whether a method is public or not, whether it is abstract.
>
> Nothing about the AST. Quite simple actually. The CCI looks quite expressive.

But I do not understand how you can do invocations without AST analysis?
what is the license of CCI?

CCI and Mono.Cecil (that we use for VerveineSharp) provide libraries to manipulate MSIL (i.e. MS byte code), hence these are competing frameworks... since we are working on the byte code therefore it is not needed to touch AST. Hence, one can go very fast to create static analyzers with these tools. 

Licence: Microsoft Public License (Ms-PL)

Comparison of the two frameworks:
+ Mono. Cecil community is much more vibrant ..

 



>
> Alexandre
>
>
> On 27 Sep 2011, at 04:49, Stéphane Ducasse wrote:
>
>> alex can you reply?
>>
>> Stef
>>
>> On Sep 23, 2011, at 2:46 PM, Stéphane Ducasse wrote:
>>
>>> what model did you extract?
>>>     inside methods?
>>>     symbol resolved?
>>> because get package, class and inheritance should be simple.
>>>
>>>
>>> On Sep 23, 2011, at 2:08 PM, Alexandre Bergel wrote:
>>>
>>>> Hi !
>>>>
>>>> Yesterday I spent about 30 minutes with a guy from microsoft to generate .mse from C#. We were able to extract the data and generate the mse. I was happy to have a blueprint complexity after such a short amount of time.
>>>>
>>>> Usman, we use http://ccimetadata.codeplex.com for extracting the data. I can share the code if you wish.
>>>>
>>>> Cheers,
>>>> Alexandre
>>>>
>>>>
>>>> --
>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>> Alexandre Bergel  http://www.bergel.eu
>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Moose-dev mailing list
>>>> [hidden email]
>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: happy man...

Usman Bhatti
Alex,

If you could share the code that you create with MS guys, it would be great ... just to compare the two implementations and learn a few lessons :-)

thanx

Usman

On Wed, Sep 28, 2011 at 1:30 PM, Usman Bhatti <[hidden email]> wrote:
On Wed, Sep 28, 2011 at 8:04 AM, Stéphane Ducasse <[hidden email]> wrote:

On Sep 27, 2011, at 7:42 PM, Alexandre Bergel wrote:

> Sorry, I missed this email
> We simply extract the class declaration, attributes, methods and their invocations. We also say whether a method is public or not, whether it is abstract.
>
> Nothing about the AST. Quite simple actually. The CCI looks quite expressive.

But I do not understand how you can do invocations without AST analysis?
what is the license of CCI?

CCI and Mono.Cecil (that we use for VerveineSharp) provide libraries to manipulate MSIL (i.e. MS byte code), hence these are competing frameworks... since we are working on the byte code therefore it is not needed to touch AST. Hence, one can go very fast to create static analyzers with these tools. 

Licence: Microsoft Public License (Ms-PL)

Comparison of the two frameworks:
+ Mono. Cecil community is much more vibrant ..

 



>
> Alexandre
>
>
> On 27 Sep 2011, at 04:49, Stéphane Ducasse wrote:
>
>> alex can you reply?
>>
>> Stef
>>
>> On Sep 23, 2011, at 2:46 PM, Stéphane Ducasse wrote:
>>
>>> what model did you extract?
>>>     inside methods?
>>>     symbol resolved?
>>> because get package, class and inheritance should be simple.
>>>
>>>
>>> On Sep 23, 2011, at 2:08 PM, Alexandre Bergel wrote:
>>>
>>>> Hi !
>>>>
>>>> Yesterday I spent about 30 minutes with a guy from microsoft to generate .mse from C#. We were able to extract the data and generate the mse. I was happy to have a blueprint complexity after such a short amount of time.
>>>>
>>>> Usman, we use http://ccimetadata.codeplex.com for extracting the data. I can share the code if you wish.
>>>>
>>>> Cheers,
>>>> Alexandre
>>>>
>>>>
>>>> --
>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>> Alexandre Bergel  http://www.bergel.eu
>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Moose-dev mailing list
>>>> [hidden email]
>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: happy man...

abergel
Weird. I sent the code the day you asked for it.


Alexandre


On 28 Sep 2011, at 08:31, Usman Bhatti wrote:

> Alex,
>
> If you could share the code that you create with MS guys, it would be great ... just to compare the two implementations and learn a few lessons :-)
>
> thanx
>
> Usman
>
> On Wed, Sep 28, 2011 at 1:30 PM, Usman Bhatti <[hidden email]> wrote:
> On Wed, Sep 28, 2011 at 8:04 AM, Stéphane Ducasse <[hidden email]> wrote:
>
> On Sep 27, 2011, at 7:42 PM, Alexandre Bergel wrote:
>
> > Sorry, I missed this email
> > We simply extract the class declaration, attributes, methods and their invocations. We also say whether a method is public or not, whether it is abstract.
> >
> > Nothing about the AST. Quite simple actually. The CCI looks quite expressive.
>
> But I do not understand how you can do invocations without AST analysis?
> what is the license of CCI?
>
> CCI and Mono.Cecil (that we use for VerveineSharp) provide libraries to manipulate MSIL (i.e. MS byte code), hence these are competing frameworks... since we are working on the byte code therefore it is not needed to touch AST. Hence, one can go very fast to create static analyzers with these tools.
>
> Licence: Microsoft Public License (Ms-PL)
> From here: http://ccimetadata.codeplex.com/license
>
> Comparison of the two frameworks:
> http://stackoverflow.com/questions/6727715/cci-vs-mono-cecil-advantages-and-disadvantages
> + Mono. Cecil community is much more vibrant ..
>
>  
>
>
>
> >
> > Alexandre
> >
> >
> > On 27 Sep 2011, at 04:49, Stéphane Ducasse wrote:
> >
> >> alex can you reply?
> >>
> >> Stef
> >>
> >> On Sep 23, 2011, at 2:46 PM, Stéphane Ducasse wrote:
> >>
> >>> what model did you extract?
> >>>     inside methods?
> >>>     symbol resolved?
> >>> because get package, class and inheritance should be simple.
> >>>
> >>>
> >>> On Sep 23, 2011, at 2:08 PM, Alexandre Bergel wrote:
> >>>
> >>>> Hi !
> >>>>
> >>>> Yesterday I spent about 30 minutes with a guy from microsoft to generate .mse from C#. We were able to extract the data and generate the mse. I was happy to have a blueprint complexity after such a short amount of time.
> >>>>
> >>>> Usman, we use http://ccimetadata.codeplex.com for extracting the data. I can share the code if you wish.
> >>>>
> >>>> Cheers,
> >>>> Alexandre
> >>>>
> >>>>
> >>>> --
> >>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> >>>> Alexandre Bergel  http://www.bergel.eu
> >>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> Moose-dev mailing list
> >>>> [hidden email]
> >>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>>
> >>>
> >>> _______________________________________________
> >>> Moose-dev mailing list
> >>> [hidden email]
> >>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>
> >>
> >> _______________________________________________
> >> Moose-dev mailing list
> >> [hidden email]
> >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >
> > --
> > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> > Alexandre Bergel  http://www.bergel.eu
> > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > Moose-dev mailing list
> > [hidden email]
> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

petomse.zip (2M) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: happy man...

abergel
In reply to this post by Usman Bhatti
I just sent the code to the mailing list.
I will send it privately if it is not accepted by the list.

Cheers,
Alexandre


On 28 Sep 2011, at 08:31, Usman Bhatti wrote:

> Alex,
>
> If you could share the code that you create with MS guys, it would be great ... just to compare the two implementations and learn a few lessons :-)
>
> thanx
>
> Usman
>
> On Wed, Sep 28, 2011 at 1:30 PM, Usman Bhatti <[hidden email]> wrote:
> On Wed, Sep 28, 2011 at 8:04 AM, Stéphane Ducasse <[hidden email]> wrote:
>
> On Sep 27, 2011, at 7:42 PM, Alexandre Bergel wrote:
>
> > Sorry, I missed this email
> > We simply extract the class declaration, attributes, methods and their invocations. We also say whether a method is public or not, whether it is abstract.
> >
> > Nothing about the AST. Quite simple actually. The CCI looks quite expressive.
>
> But I do not understand how you can do invocations without AST analysis?
> what is the license of CCI?
>
> CCI and Mono.Cecil (that we use for VerveineSharp) provide libraries to manipulate MSIL (i.e. MS byte code), hence these are competing frameworks... since we are working on the byte code therefore it is not needed to touch AST. Hence, one can go very fast to create static analyzers with these tools.
>
> Licence: Microsoft Public License (Ms-PL)
> From here: http://ccimetadata.codeplex.com/license
>
> Comparison of the two frameworks:
> http://stackoverflow.com/questions/6727715/cci-vs-mono-cecil-advantages-and-disadvantages
> + Mono. Cecil community is much more vibrant ..
>
>  
>
>
>
> >
> > Alexandre
> >
> >
> > On 27 Sep 2011, at 04:49, Stéphane Ducasse wrote:
> >
> >> alex can you reply?
> >>
> >> Stef
> >>
> >> On Sep 23, 2011, at 2:46 PM, Stéphane Ducasse wrote:
> >>
> >>> what model did you extract?
> >>>     inside methods?
> >>>     symbol resolved?
> >>> because get package, class and inheritance should be simple.
> >>>
> >>>
> >>> On Sep 23, 2011, at 2:08 PM, Alexandre Bergel wrote:
> >>>
> >>>> Hi !
> >>>>
> >>>> Yesterday I spent about 30 minutes with a guy from microsoft to generate .mse from C#. We were able to extract the data and generate the mse. I was happy to have a blueprint complexity after such a short amount of time.
> >>>>
> >>>> Usman, we use http://ccimetadata.codeplex.com for extracting the data. I can share the code if you wish.
> >>>>
> >>>> Cheers,
> >>>> Alexandre
> >>>>
> >>>>
> >>>> --
> >>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> >>>> Alexandre Bergel  http://www.bergel.eu
> >>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> Moose-dev mailing list
> >>>> [hidden email]
> >>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>>
> >>>
> >>> _______________________________________________
> >>> Moose-dev mailing list
> >>> [hidden email]
> >>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>
> >>
> >> _______________________________________________
> >> Moose-dev mailing list
> >> [hidden email]
> >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >
> > --
> > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> > Alexandre Bergel  http://www.bergel.eu
> > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > Moose-dev mailing list
> > [hidden email]
> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: happy man...

abergel
Apparently, gmail does not like my email. I put it on dropbox
http://dl.dropbox.com/u/31543901/petomse.zip

Cheers,
Alexandre


On 28 Sep 2011, at 09:26, Alexandre Bergel wrote:

> I just sent the code to the mailing list.
> I will send it privately if it is not accepted by the list.
>
> Cheers,
> Alexandre
>
>
> On 28 Sep 2011, at 08:31, Usman Bhatti wrote:
>
>> Alex,
>>
>> If you could share the code that you create with MS guys, it would be great ... just to compare the two implementations and learn a few lessons :-)
>>
>> thanx
>>
>> Usman
>>
>> On Wed, Sep 28, 2011 at 1:30 PM, Usman Bhatti <[hidden email]> wrote:
>> On Wed, Sep 28, 2011 at 8:04 AM, Stéphane Ducasse <[hidden email]> wrote:
>>
>> On Sep 27, 2011, at 7:42 PM, Alexandre Bergel wrote:
>>
>>> Sorry, I missed this email
>>> We simply extract the class declaration, attributes, methods and their invocations. We also say whether a method is public or not, whether it is abstract.
>>>
>>> Nothing about the AST. Quite simple actually. The CCI looks quite expressive.
>>
>> But I do not understand how you can do invocations without AST analysis?
>> what is the license of CCI?
>>
>> CCI and Mono.Cecil (that we use for VerveineSharp) provide libraries to manipulate MSIL (i.e. MS byte code), hence these are competing frameworks... since we are working on the byte code therefore it is not needed to touch AST. Hence, one can go very fast to create static analyzers with these tools.
>>
>> Licence: Microsoft Public License (Ms-PL)
>> From here: http://ccimetadata.codeplex.com/license
>>
>> Comparison of the two frameworks:
>> http://stackoverflow.com/questions/6727715/cci-vs-mono-cecil-advantages-and-disadvantages
>> + Mono. Cecil community is much more vibrant ..
>>
>>
>>
>>
>>
>>>
>>> Alexandre
>>>
>>>
>>> On 27 Sep 2011, at 04:49, Stéphane Ducasse wrote:
>>>
>>>> alex can you reply?
>>>>
>>>> Stef
>>>>
>>>> On Sep 23, 2011, at 2:46 PM, Stéphane Ducasse wrote:
>>>>
>>>>> what model did you extract?
>>>>>    inside methods?
>>>>>    symbol resolved?
>>>>> because get package, class and inheritance should be simple.
>>>>>
>>>>>
>>>>> On Sep 23, 2011, at 2:08 PM, Alexandre Bergel wrote:
>>>>>
>>>>>> Hi !
>>>>>>
>>>>>> Yesterday I spent about 30 minutes with a guy from microsoft to generate .mse from C#. We were able to extract the data and generate the mse. I was happy to have a blueprint complexity after such a short amount of time.
>>>>>>
>>>>>> Usman, we use http://ccimetadata.codeplex.com for extracting the data. I can share the code if you wish.
>>>>>>
>>>>>> Cheers,
>>>>>> Alexandre
>>>>>>
>>>>>>
>>>>>> --
>>>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>>>> Alexandre Bergel  http://www.bergel.eu
>>>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Moose-dev mailing list
>>>>>> [hidden email]
>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Moose-dev mailing list
>>>>> [hidden email]
>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>
>>>>
>>>> _______________________________________________
>>>> Moose-dev mailing list
>>>> [hidden email]
>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>> --
>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> Alexandre Bergel  http://www.bergel.eu
>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: happy man...

Usman Bhatti
tx

On Wed, Sep 28, 2011 at 2:42 PM, Alexandre Bergel <[hidden email]> wrote:
Apparently, gmail does not like my email. I put it on dropbox
http://dl.dropbox.com/u/31543901/petomse.zip

Cheers,
Alexandre


On 28 Sep 2011, at 09:26, Alexandre Bergel wrote:

> I just sent the code to the mailing list.
> I will send it privately if it is not accepted by the list.
>
> Cheers,
> Alexandre
>
>
> On 28 Sep 2011, at 08:31, Usman Bhatti wrote:
>
>> Alex,
>>
>> If you could share the code that you create with MS guys, it would be great ... just to compare the two implementations and learn a few lessons :-)
>>
>> thanx
>>
>> Usman
>>
>> On Wed, Sep 28, 2011 at 1:30 PM, Usman Bhatti <[hidden email]> wrote:
>> On Wed, Sep 28, 2011 at 8:04 AM, Stéphane Ducasse <[hidden email]> wrote:
>>
>> On Sep 27, 2011, at 7:42 PM, Alexandre Bergel wrote:
>>
>>> Sorry, I missed this email
>>> We simply extract the class declaration, attributes, methods and their invocations. We also say whether a method is public or not, whether it is abstract.
>>>
>>> Nothing about the AST. Quite simple actually. The CCI looks quite expressive.
>>
>> But I do not understand how you can do invocations without AST analysis?
>> what is the license of CCI?
>>
>> CCI and Mono.Cecil (that we use for VerveineSharp) provide libraries to manipulate MSIL (i.e. MS byte code), hence these are competing frameworks... since we are working on the byte code therefore it is not needed to touch AST. Hence, one can go very fast to create static analyzers with these tools.
>>
>> Licence: Microsoft Public License (Ms-PL)
>> From here: http://ccimetadata.codeplex.com/license
>>
>> Comparison of the two frameworks:
>> http://stackoverflow.com/questions/6727715/cci-vs-mono-cecil-advantages-and-disadvantages
>> + Mono. Cecil community is much more vibrant ..
>>
>>
>>
>>
>>
>>>
>>> Alexandre
>>>
>>>
>>> On 27 Sep 2011, at 04:49, Stéphane Ducasse wrote:
>>>
>>>> alex can you reply?
>>>>
>>>> Stef
>>>>
>>>> On Sep 23, 2011, at 2:46 PM, Stéphane Ducasse wrote:
>>>>
>>>>> what model did you extract?
>>>>>    inside methods?
>>>>>    symbol resolved?
>>>>> because get package, class and inheritance should be simple.
>>>>>
>>>>>
>>>>> On Sep 23, 2011, at 2:08 PM, Alexandre Bergel wrote:
>>>>>
>>>>>> Hi !
>>>>>>
>>>>>> Yesterday I spent about 30 minutes with a guy from microsoft to generate .mse from C#. We were able to extract the data and generate the mse. I was happy to have a blueprint complexity after such a short amount of time.
>>>>>>
>>>>>> Usman, we use http://ccimetadata.codeplex.com for extracting the data. I can share the code if you wish.
>>>>>>
>>>>>> Cheers,
>>>>>> Alexandre
>>>>>>
>>>>>>
>>>>>> --
>>>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>>>> Alexandre Bergel  http://www.bergel.eu
>>>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Moose-dev mailing list
>>>>>> [hidden email]
>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Moose-dev mailing list
>>>>> [hidden email]
>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>
>>>>
>>>> _______________________________________________
>>>> Moose-dev mailing list
>>>> [hidden email]
>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>> --
>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> Alexandre Bergel  http://www.bergel.eu
>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: happy man...

Stéphane Ducasse
In reply to this post by Usman Bhatti
Ok I got it.

Stef

On Sep 28, 2011, at 1:30 PM, Usman Bhatti wrote:

> On Wed, Sep 28, 2011 at 8:04 AM, Stéphane Ducasse <[hidden email]> wrote:
>
> On Sep 27, 2011, at 7:42 PM, Alexandre Bergel wrote:
>
> > Sorry, I missed this email
> > We simply extract the class declaration, attributes, methods and their invocations. We also say whether a method is public or not, whether it is abstract.
> >
> > Nothing about the AST. Quite simple actually. The CCI looks quite expressive.
>
> But I do not understand how you can do invocations without AST analysis?
> what is the license of CCI?
>
> CCI and Mono.Cecil (that we use for VerveineSharp) provide libraries to manipulate MSIL (i.e. MS byte code), hence these are competing frameworks... since we are working on the byte code therefore it is not needed to touch AST. Hence, one can go very fast to create static analyzers with these tools.
>
> Licence: Microsoft Public License (Ms-PL)
> From here: http://ccimetadata.codeplex.com/license
>
> Comparison of the two frameworks:
> http://stackoverflow.com/questions/6727715/cci-vs-mono-cecil-advantages-and-disadvantages
> + Mono. Cecil community is much more vibrant ..
>
>  
>
>
>
> >
> > Alexandre
> >
> >
> > On 27 Sep 2011, at 04:49, Stéphane Ducasse wrote:
> >
> >> alex can you reply?
> >>
> >> Stef
> >>
> >> On Sep 23, 2011, at 2:46 PM, Stéphane Ducasse wrote:
> >>
> >>> what model did you extract?
> >>>     inside methods?
> >>>     symbol resolved?
> >>> because get package, class and inheritance should be simple.
> >>>
> >>>
> >>> On Sep 23, 2011, at 2:08 PM, Alexandre Bergel wrote:
> >>>
> >>>> Hi !
> >>>>
> >>>> Yesterday I spent about 30 minutes with a guy from microsoft to generate .mse from C#. We were able to extract the data and generate the mse. I was happy to have a blueprint complexity after such a short amount of time.
> >>>>
> >>>> Usman, we use http://ccimetadata.codeplex.com for extracting the data. I can share the code if you wish.
> >>>>
> >>>> Cheers,
> >>>> Alexandre
> >>>>
> >>>>
> >>>> --
> >>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> >>>> Alexandre Bergel  http://www.bergel.eu
> >>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> Moose-dev mailing list
> >>>> [hidden email]
> >>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>>
> >>>
> >>> _______________________________________________
> >>> Moose-dev mailing list
> >>> [hidden email]
> >>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>
> >>
> >> _______________________________________________
> >> Moose-dev mailing list
> >> [hidden email]
> >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >
> > --
> > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> > Alexandre Bergel  http://www.bergel.eu
> > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > Moose-dev mailing list
> > [hidden email]
> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: happy man...

Stéphane Ducasse
In reply to this post by Usman Bhatti
Could we add all the code in a svn somewhere?

Stef

On Sep 28, 2011, at 4:42 PM, Usman Bhatti wrote:

> tx
>
> On Wed, Sep 28, 2011 at 2:42 PM, Alexandre Bergel <[hidden email]> wrote:
> Apparently, gmail does not like my email. I put it on dropbox
> http://dl.dropbox.com/u/31543901/petomse.zip
>
> Cheers,
> Alexandre
>
>
> On 28 Sep 2011, at 09:26, Alexandre Bergel wrote:
>
> > I just sent the code to the mailing list.
> > I will send it privately if it is not accepted by the list.
> >
> > Cheers,
> > Alexandre
> >
> >
> > On 28 Sep 2011, at 08:31, Usman Bhatti wrote:
> >
> >> Alex,
> >>
> >> If you could share the code that you create with MS guys, it would be great ... just to compare the two implementations and learn a few lessons :-)
> >>
> >> thanx
> >>
> >> Usman
> >>
> >> On Wed, Sep 28, 2011 at 1:30 PM, Usman Bhatti <[hidden email]> wrote:
> >> On Wed, Sep 28, 2011 at 8:04 AM, Stéphane Ducasse <[hidden email]> wrote:
> >>
> >> On Sep 27, 2011, at 7:42 PM, Alexandre Bergel wrote:
> >>
> >>> Sorry, I missed this email
> >>> We simply extract the class declaration, attributes, methods and their invocations. We also say whether a method is public or not, whether it is abstract.
> >>>
> >>> Nothing about the AST. Quite simple actually. The CCI looks quite expressive.
> >>
> >> But I do not understand how you can do invocations without AST analysis?
> >> what is the license of CCI?
> >>
> >> CCI and Mono.Cecil (that we use for VerveineSharp) provide libraries to manipulate MSIL (i.e. MS byte code), hence these are competing frameworks... since we are working on the byte code therefore it is not needed to touch AST. Hence, one can go very fast to create static analyzers with these tools.
> >>
> >> Licence: Microsoft Public License (Ms-PL)
> >> From here: http://ccimetadata.codeplex.com/license
> >>
> >> Comparison of the two frameworks:
> >> http://stackoverflow.com/questions/6727715/cci-vs-mono-cecil-advantages-and-disadvantages
> >> + Mono. Cecil community is much more vibrant ..
> >>
> >>
> >>
> >>
> >>
> >>>
> >>> Alexandre
> >>>
> >>>
> >>> On 27 Sep 2011, at 04:49, Stéphane Ducasse wrote:
> >>>
> >>>> alex can you reply?
> >>>>
> >>>> Stef
> >>>>
> >>>> On Sep 23, 2011, at 2:46 PM, Stéphane Ducasse wrote:
> >>>>
> >>>>> what model did you extract?
> >>>>>    inside methods?
> >>>>>    symbol resolved?
> >>>>> because get package, class and inheritance should be simple.
> >>>>>
> >>>>>
> >>>>> On Sep 23, 2011, at 2:08 PM, Alexandre Bergel wrote:
> >>>>>
> >>>>>> Hi !
> >>>>>>
> >>>>>> Yesterday I spent about 30 minutes with a guy from microsoft to generate .mse from C#. We were able to extract the data and generate the mse. I was happy to have a blueprint complexity after such a short amount of time.
> >>>>>>
> >>>>>> Usman, we use http://ccimetadata.codeplex.com for extracting the data. I can share the code if you wish.
> >>>>>>
> >>>>>> Cheers,
> >>>>>> Alexandre
> >>>>>>
> >>>>>>
> >>>>>> --
> >>>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> >>>>>> Alexandre Bergel  http://www.bergel.eu
> >>>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> _______________________________________________
> >>>>>> Moose-dev mailing list
> >>>>>> [hidden email]
> >>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>>>>
> >>>>>
> >>>>> _______________________________________________
> >>>>> Moose-dev mailing list
> >>>>> [hidden email]
> >>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> Moose-dev mailing list
> >>>> [hidden email]
> >>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>>
> >>> --
> >>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> >>> Alexandre Bergel  http://www.bergel.eu
> >>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> Moose-dev mailing list
> >>> [hidden email]
> >>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>
> >>
> >> _______________________________________________
> >> Moose-dev mailing list
> >> [hidden email]
> >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>
> >>
> >> _______________________________________________
> >> Moose-dev mailing list
> >> [hidden email]
> >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >
> > --
> > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> > Alexandre Bergel  http://www.bergel.eu
> > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > Moose-dev mailing list
> > [hidden email]
> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: happy man...

Usman Bhatti
ok i'll upload it somewhere ...

On Thu, Sep 29, 2011 at 10:54 AM, Stéphane Ducasse <[hidden email]> wrote:
Could we add all the code in a svn somewhere?

Stef

On Sep 28, 2011, at 4:42 PM, Usman Bhatti wrote:

> tx
>
> On Wed, Sep 28, 2011 at 2:42 PM, Alexandre Bergel <[hidden email]> wrote:
> Apparently, gmail does not like my email. I put it on dropbox
> http://dl.dropbox.com/u/31543901/petomse.zip
>
> Cheers,
> Alexandre
>
>
> On 28 Sep 2011, at 09:26, Alexandre Bergel wrote:
>
> > I just sent the code to the mailing list.
> > I will send it privately if it is not accepted by the list.
> >
> > Cheers,
> > Alexandre
> >
> >
> > On 28 Sep 2011, at 08:31, Usman Bhatti wrote:
> >
> >> Alex,
> >>
> >> If you could share the code that you create with MS guys, it would be great ... just to compare the two implementations and learn a few lessons :-)
> >>
> >> thanx
> >>
> >> Usman
> >>
> >> On Wed, Sep 28, 2011 at 1:30 PM, Usman Bhatti <[hidden email]> wrote:
> >> On Wed, Sep 28, 2011 at 8:04 AM, Stéphane Ducasse <[hidden email]> wrote:
> >>
> >> On Sep 27, 2011, at 7:42 PM, Alexandre Bergel wrote:
> >>
> >>> Sorry, I missed this email
> >>> We simply extract the class declaration, attributes, methods and their invocations. We also say whether a method is public or not, whether it is abstract.
> >>>
> >>> Nothing about the AST. Quite simple actually. The CCI looks quite expressive.
> >>
> >> But I do not understand how you can do invocations without AST analysis?
> >> what is the license of CCI?
> >>
> >> CCI and Mono.Cecil (that we use for VerveineSharp) provide libraries to manipulate MSIL (i.e. MS byte code), hence these are competing frameworks... since we are working on the byte code therefore it is not needed to touch AST. Hence, one can go very fast to create static analyzers with these tools.
> >>
> >> Licence: Microsoft Public License (Ms-PL)
> >> From here: http://ccimetadata.codeplex.com/license
> >>
> >> Comparison of the two frameworks:
> >> http://stackoverflow.com/questions/6727715/cci-vs-mono-cecil-advantages-and-disadvantages
> >> + Mono. Cecil community is much more vibrant ..
> >>
> >>
> >>
> >>
> >>
> >>>
> >>> Alexandre
> >>>
> >>>
> >>> On 27 Sep 2011, at 04:49, Stéphane Ducasse wrote:
> >>>
> >>>> alex can you reply?
> >>>>
> >>>> Stef
> >>>>
> >>>> On Sep 23, 2011, at 2:46 PM, Stéphane Ducasse wrote:
> >>>>
> >>>>> what model did you extract?
> >>>>>    inside methods?
> >>>>>    symbol resolved?
> >>>>> because get package, class and inheritance should be simple.
> >>>>>
> >>>>>
> >>>>> On Sep 23, 2011, at 2:08 PM, Alexandre Bergel wrote:
> >>>>>
> >>>>>> Hi !
> >>>>>>
> >>>>>> Yesterday I spent about 30 minutes with a guy from microsoft to generate .mse from C#. We were able to extract the data and generate the mse. I was happy to have a blueprint complexity after such a short amount of time.
> >>>>>>
> >>>>>> Usman, we use http://ccimetadata.codeplex.com for extracting the data. I can share the code if you wish.
> >>>>>>
> >>>>>> Cheers,
> >>>>>> Alexandre
> >>>>>>
> >>>>>>
> >>>>>> --
> >>>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> >>>>>> Alexandre Bergel  http://www.bergel.eu
> >>>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> _______________________________________________
> >>>>>> Moose-dev mailing list
> >>>>>> [hidden email]
> >>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>>>>
> >>>>>
> >>>>> _______________________________________________
> >>>>> Moose-dev mailing list
> >>>>> [hidden email]
> >>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> Moose-dev mailing list
> >>>> [hidden email]
> >>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>>
> >>> --
> >>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> >>> Alexandre Bergel  http://www.bergel.eu
> >>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> Moose-dev mailing list
> >>> [hidden email]
> >>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>
> >>
> >> _______________________________________________
> >> Moose-dev mailing list
> >> [hidden email]
> >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>
> >>
> >> _______________________________________________
> >> Moose-dev mailing list
> >> [hidden email]
> >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >
> > --
> > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> > Alexandre Bergel  http://www.bergel.eu
> > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > Moose-dev mailing list
> > [hidden email]
> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: happy man...

Usman Bhatti
I added the project here with some related info from the mail on the list.

http://code.google.com/p/moosecciextractor/

If someone needs access, send me a mail.


On Thu, Sep 29, 2011 at 10:00 PM, Usman Bhatti <[hidden email]> wrote:
ok i'll upload it somewhere ...


On Thu, Sep 29, 2011 at 10:54 AM, Stéphane Ducasse <[hidden email]> wrote:
Could we add all the code in a svn somewhere?

Stef

On Sep 28, 2011, at 4:42 PM, Usman Bhatti wrote:

> tx
>
> On Wed, Sep 28, 2011 at 2:42 PM, Alexandre Bergel <[hidden email]> wrote:
> Apparently, gmail does not like my email. I put it on dropbox
> http://dl.dropbox.com/u/31543901/petomse.zip
>
> Cheers,
> Alexandre
>
>
> On 28 Sep 2011, at 09:26, Alexandre Bergel wrote:
>
> > I just sent the code to the mailing list.
> > I will send it privately if it is not accepted by the list.
> >
> > Cheers,
> > Alexandre
> >
> >
> > On 28 Sep 2011, at 08:31, Usman Bhatti wrote:
> >
> >> Alex,
> >>
> >> If you could share the code that you create with MS guys, it would be great ... just to compare the two implementations and learn a few lessons :-)
> >>
> >> thanx
> >>
> >> Usman
> >>
> >> On Wed, Sep 28, 2011 at 1:30 PM, Usman Bhatti <[hidden email]> wrote:
> >> On Wed, Sep 28, 2011 at 8:04 AM, Stéphane Ducasse <[hidden email]> wrote:
> >>
> >> On Sep 27, 2011, at 7:42 PM, Alexandre Bergel wrote:
> >>
> >>> Sorry, I missed this email
> >>> We simply extract the class declaration, attributes, methods and their invocations. We also say whether a method is public or not, whether it is abstract.
> >>>
> >>> Nothing about the AST. Quite simple actually. The CCI looks quite expressive.
> >>
> >> But I do not understand how you can do invocations without AST analysis?
> >> what is the license of CCI?
> >>
> >> CCI and Mono.Cecil (that we use for VerveineSharp) provide libraries to manipulate MSIL (i.e. MS byte code), hence these are competing frameworks... since we are working on the byte code therefore it is not needed to touch AST. Hence, one can go very fast to create static analyzers with these tools.
> >>
> >> Licence: Microsoft Public License (Ms-PL)
> >> From here: http://ccimetadata.codeplex.com/license
> >>
> >> Comparison of the two frameworks:
> >> http://stackoverflow.com/questions/6727715/cci-vs-mono-cecil-advantages-and-disadvantages
> >> + Mono. Cecil community is much more vibrant ..
> >>
> >>
> >>
> >>
> >>
> >>>
> >>> Alexandre
> >>>
> >>>
> >>> On 27 Sep 2011, at 04:49, Stéphane Ducasse wrote:
> >>>
> >>>> alex can you reply?
> >>>>
> >>>> Stef
> >>>>
> >>>> On Sep 23, 2011, at 2:46 PM, Stéphane Ducasse wrote:
> >>>>
> >>>>> what model did you extract?
> >>>>>    inside methods?
> >>>>>    symbol resolved?
> >>>>> because get package, class and inheritance should be simple.
> >>>>>
> >>>>>
> >>>>> On Sep 23, 2011, at 2:08 PM, Alexandre Bergel wrote:
> >>>>>
> >>>>>> Hi !
> >>>>>>
> >>>>>> Yesterday I spent about 30 minutes with a guy from microsoft to generate .mse from C#. We were able to extract the data and generate the mse. I was happy to have a blueprint complexity after such a short amount of time.
> >>>>>>
> >>>>>> Usman, we use http://ccimetadata.codeplex.com for extracting the data. I can share the code if you wish.
> >>>>>>
> >>>>>> Cheers,
> >>>>>> Alexandre
> >>>>>>
> >>>>>>
> >>>>>> --
> >>>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> >>>>>> Alexandre Bergel  http://www.bergel.eu
> >>>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> _______________________________________________
> >>>>>> Moose-dev mailing list
> >>>>>> [hidden email]
> >>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>>>>
> >>>>>
> >>>>> _______________________________________________
> >>>>> Moose-dev mailing list
> >>>>> [hidden email]
> >>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> Moose-dev mailing list
> >>>> [hidden email]
> >>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>>
> >>> --
> >>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> >>> Alexandre Bergel  http://www.bergel.eu
> >>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> Moose-dev mailing list
> >>> [hidden email]
> >>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>
> >>
> >> _______________________________________________
> >> Moose-dev mailing list
> >> [hidden email]
> >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>
> >>
> >> _______________________________________________
> >> Moose-dev mailing list
> >> [hidden email]
> >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >
> > --
> > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> > Alexandre Bergel  http://www.bergel.eu
> > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > Moose-dev mailing list
> > [hidden email]
> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: happy man...

abergel
I like the idea, but we should be cautious. As you can see, the source are Microsoft copyrighted. Peli and I did this as a proof of concept and as an opportunity to code together. We did not talk about distributing it.

I will talk to him about that.

Alexandre


On 9 Oct 2011, at 07:55, Usman Bhatti wrote:

> I added the project here with some related info from the mail on the list.
>
> http://code.google.com/p/moosecciextractor/
>
> If someone needs access, send me a mail.
>
>
> On Thu, Sep 29, 2011 at 10:00 PM, Usman Bhatti <[hidden email]> wrote:
> ok i'll upload it somewhere ...
>
>
> On Thu, Sep 29, 2011 at 10:54 AM, Stéphane Ducasse <[hidden email]> wrote:
> Could we add all the code in a svn somewhere?
>
> Stef
>
> On Sep 28, 2011, at 4:42 PM, Usman Bhatti wrote:
>
> > tx
> >
> > On Wed, Sep 28, 2011 at 2:42 PM, Alexandre Bergel <[hidden email]> wrote:
> > Apparently, gmail does not like my email. I put it on dropbox
> > http://dl.dropbox.com/u/31543901/petomse.zip
> >
> > Cheers,
> > Alexandre
> >
> >
> > On 28 Sep 2011, at 09:26, Alexandre Bergel wrote:
> >
> > > I just sent the code to the mailing list.
> > > I will send it privately if it is not accepted by the list.
> > >
> > > Cheers,
> > > Alexandre
> > >
> > >
> > > On 28 Sep 2011, at 08:31, Usman Bhatti wrote:
> > >
> > >> Alex,
> > >>
> > >> If you could share the code that you create with MS guys, it would be great ... just to compare the two implementations and learn a few lessons :-)
> > >>
> > >> thanx
> > >>
> > >> Usman
> > >>
> > >> On Wed, Sep 28, 2011 at 1:30 PM, Usman Bhatti <[hidden email]> wrote:
> > >> On Wed, Sep 28, 2011 at 8:04 AM, Stéphane Ducasse <[hidden email]> wrote:
> > >>
> > >> On Sep 27, 2011, at 7:42 PM, Alexandre Bergel wrote:
> > >>
> > >>> Sorry, I missed this email
> > >>> We simply extract the class declaration, attributes, methods and their invocations. We also say whether a method is public or not, whether it is abstract.
> > >>>
> > >>> Nothing about the AST. Quite simple actually. The CCI looks quite expressive.
> > >>
> > >> But I do not understand how you can do invocations without AST analysis?
> > >> what is the license of CCI?
> > >>
> > >> CCI and Mono.Cecil (that we use for VerveineSharp) provide libraries to manipulate MSIL (i.e. MS byte code), hence these are competing frameworks... since we are working on the byte code therefore it is not needed to touch AST. Hence, one can go very fast to create static analyzers with these tools.
> > >>
> > >> Licence: Microsoft Public License (Ms-PL)
> > >> From here: http://ccimetadata.codeplex.com/license
> > >>
> > >> Comparison of the two frameworks:
> > >> http://stackoverflow.com/questions/6727715/cci-vs-mono-cecil-advantages-and-disadvantages
> > >> + Mono. Cecil community is much more vibrant ..
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>>
> > >>> Alexandre
> > >>>
> > >>>
> > >>> On 27 Sep 2011, at 04:49, Stéphane Ducasse wrote:
> > >>>
> > >>>> alex can you reply?
> > >>>>
> > >>>> Stef
> > >>>>
> > >>>> On Sep 23, 2011, at 2:46 PM, Stéphane Ducasse wrote:
> > >>>>
> > >>>>> what model did you extract?
> > >>>>>    inside methods?
> > >>>>>    symbol resolved?
> > >>>>> because get package, class and inheritance should be simple.
> > >>>>>
> > >>>>>
> > >>>>> On Sep 23, 2011, at 2:08 PM, Alexandre Bergel wrote:
> > >>>>>
> > >>>>>> Hi !
> > >>>>>>
> > >>>>>> Yesterday I spent about 30 minutes with a guy from microsoft to generate .mse from C#. We were able to extract the data and generate the mse. I was happy to have a blueprint complexity after such a short amount of time.
> > >>>>>>
> > >>>>>> Usman, we use http://ccimetadata.codeplex.com for extracting the data. I can share the code if you wish.
> > >>>>>>
> > >>>>>> Cheers,
> > >>>>>> Alexandre
> > >>>>>>
> > >>>>>>
> > >>>>>> --
> > >>>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> > >>>>>> Alexandre Bergel  http://www.bergel.eu
> > >>>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> > >>>>>>
> > >>>>>>
> > >>>>>>
> > >>>>>>
> > >>>>>>
> > >>>>>> _______________________________________________
> > >>>>>> Moose-dev mailing list
> > >>>>>> [hidden email]
> > >>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> > >>>>>
> > >>>>>
> > >>>>> _______________________________________________
> > >>>>> Moose-dev mailing list
> > >>>>> [hidden email]
> > >>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> > >>>>
> > >>>>
> > >>>> _______________________________________________
> > >>>> Moose-dev mailing list
> > >>>> [hidden email]
> > >>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> > >>>
> > >>> --
> > >>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> > >>> Alexandre Bergel  http://www.bergel.eu
> > >>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>> _______________________________________________
> > >>> Moose-dev mailing list
> > >>> [hidden email]
> > >>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> > >>
> > >>
> > >> _______________________________________________
> > >> Moose-dev mailing list
> > >> [hidden email]
> > >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> > >>
> > >>
> > >> _______________________________________________
> > >> Moose-dev mailing list
> > >> [hidden email]
> > >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> > >
> > > --
> > > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> > > Alexandre Bergel  http://www.bergel.eu
> > > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> > >
> > >
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > Moose-dev mailing list
> > > [hidden email]
> > > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >
> > --
> > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> > Alexandre Bergel  http://www.bergel.eu
> > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > Moose-dev mailing list
> > [hidden email]
> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >
> > _______________________________________________
> > Moose-dev mailing list
> > [hidden email]
> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: happy man...

Usman Bhatti
On Mon, Oct 10, 2011 at 3:03 PM, Alexandre Bergel <[hidden email]> wrote:
I like the idea, but we should be cautious. As you can see, the source are Microsoft copyrighted. Peli and I did this as a proof of concept and as an opportunity to code together. We did not talk about distributing it.

Ok let me know, and I'll remove the code from the svn or make it private, if possible.
 

I will talk to him about that.

Alexandre


On 9 Oct 2011, at 07:55, Usman Bhatti wrote:

> I added the project here with some related info from the mail on the list.
>
> http://code.google.com/p/moosecciextractor/
>
> If someone needs access, send me a mail.
>
>
> On Thu, Sep 29, 2011 at 10:00 PM, Usman Bhatti <[hidden email]> wrote:
> ok i'll upload it somewhere ...
>
>
> On Thu, Sep 29, 2011 at 10:54 AM, Stéphane Ducasse <[hidden email]> wrote:
> Could we add all the code in a svn somewhere?
>
> Stef
>
> On Sep 28, 2011, at 4:42 PM, Usman Bhatti wrote:
>
> > tx
> >
> > On Wed, Sep 28, 2011 at 2:42 PM, Alexandre Bergel <[hidden email]> wrote:
> > Apparently, gmail does not like my email. I put it on dropbox
> > http://dl.dropbox.com/u/31543901/petomse.zip
> >
> > Cheers,
> > Alexandre
> >
> >
> > On 28 Sep 2011, at 09:26, Alexandre Bergel wrote:
> >
> > > I just sent the code to the mailing list.
> > > I will send it privately if it is not accepted by the list.
> > >
> > > Cheers,
> > > Alexandre
> > >
> > >
> > > On 28 Sep 2011, at 08:31, Usman Bhatti wrote:
> > >
> > >> Alex,
> > >>
> > >> If you could share the code that you create with MS guys, it would be great ... just to compare the two implementations and learn a few lessons :-)
> > >>
> > >> thanx
> > >>
> > >> Usman
> > >>
> > >> On Wed, Sep 28, 2011 at 1:30 PM, Usman Bhatti <[hidden email]> wrote:
> > >> On Wed, Sep 28, 2011 at 8:04 AM, Stéphane Ducasse <[hidden email]> wrote:
> > >>
> > >> On Sep 27, 2011, at 7:42 PM, Alexandre Bergel wrote:
> > >>
> > >>> Sorry, I missed this email
> > >>> We simply extract the class declaration, attributes, methods and their invocations. We also say whether a method is public or not, whether it is abstract.
> > >>>
> > >>> Nothing about the AST. Quite simple actually. The CCI looks quite expressive.
> > >>
> > >> But I do not understand how you can do invocations without AST analysis?
> > >> what is the license of CCI?
> > >>
> > >> CCI and Mono.Cecil (that we use for VerveineSharp) provide libraries to manipulate MSIL (i.e. MS byte code), hence these are competing frameworks... since we are working on the byte code therefore it is not needed to touch AST. Hence, one can go very fast to create static analyzers with these tools.
> > >>
> > >> Licence: Microsoft Public License (Ms-PL)
> > >> From here: http://ccimetadata.codeplex.com/license
> > >>
> > >> Comparison of the two frameworks:
> > >> http://stackoverflow.com/questions/6727715/cci-vs-mono-cecil-advantages-and-disadvantages
> > >> + Mono. Cecil community is much more vibrant ..
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>>
> > >>> Alexandre
> > >>>
> > >>>
> > >>> On 27 Sep 2011, at 04:49, Stéphane Ducasse wrote:
> > >>>
> > >>>> alex can you reply?
> > >>>>
> > >>>> Stef
> > >>>>
> > >>>> On Sep 23, 2011, at 2:46 PM, Stéphane Ducasse wrote:
> > >>>>
> > >>>>> what model did you extract?
> > >>>>>    inside methods?
> > >>>>>    symbol resolved?
> > >>>>> because get package, class and inheritance should be simple.
> > >>>>>
> > >>>>>
> > >>>>> On Sep 23, 2011, at 2:08 PM, Alexandre Bergel wrote:
> > >>>>>
> > >>>>>> Hi !
> > >>>>>>
> > >>>>>> Yesterday I spent about 30 minutes with a guy from microsoft to generate .mse from C#. We were able to extract the data and generate the mse. I was happy to have a blueprint complexity after such a short amount of time.
> > >>>>>>
> > >>>>>> Usman, we use http://ccimetadata.codeplex.com for extracting the data. I can share the code if you wish.
> > >>>>>>
> > >>>>>> Cheers,
> > >>>>>> Alexandre
> > >>>>>>
> > >>>>>>
> > >>>>>> --
> > >>>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> > >>>>>> Alexandre Bergel  http://www.bergel.eu
> > >>>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> > >>>>>>
> > >>>>>>
> > >>>>>>
> > >>>>>>
> > >>>>>>
> > >>>>>> _______________________________________________
> > >>>>>> Moose-dev mailing list
> > >>>>>> [hidden email]
> > >>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> > >>>>>
> > >>>>>
> > >>>>> _______________________________________________
> > >>>>> Moose-dev mailing list
> > >>>>> [hidden email]
> > >>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> > >>>>
> > >>>>
> > >>>> _______________________________________________
> > >>>> Moose-dev mailing list
> > >>>> [hidden email]
> > >>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> > >>>
> > >>> --
> > >>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> > >>> Alexandre Bergel  http://www.bergel.eu
> > >>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>> _______________________________________________
> > >>> Moose-dev mailing list
> > >>> [hidden email]
> > >>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> > >>
> > >>
> > >> _______________________________________________
> > >> Moose-dev mailing list
> > >> [hidden email]
> > >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> > >>
> > >>
> > >> _______________________________________________
> > >> Moose-dev mailing list
> > >> [hidden email]
> > >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> > >
> > > --
> > > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> > > Alexandre Bergel  http://www.bergel.eu
> > > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> > >
> > >
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > Moose-dev mailing list
> > > [hidden email]
> > > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >
> > --
> > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> > Alexandre Bergel  http://www.bergel.eu
> > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > Moose-dev mailing list
> > [hidden email]
> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >
> > _______________________________________________
> > Moose-dev mailing list
> > [hidden email]
> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
12