by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 31 2019 22:27

    jbevain on 0.10

    Add build bat for this release (compare)

  • Jan 31 2019 22:05

    jbevain on 0.9.6-nuget

    (compare)

  • Jan 31 2019 22:05

    jbevain on 0.9

    (compare)

  • Jan 31 2019 22:03

    jbevain on azure-pipelines

    (compare)

  • Jan 31 2019 21:58

    jbevain on 0.10.3

    (compare)

  • Jan 31 2019 21:58

    jbevain on master

    Bump to 0.10.3 (compare)

  • Jan 31 2019 21:58

    jbevain on 0.10

    Bump to 0.10.3 (compare)

  • Jan 31 2019 21:45

    jbevain on subsystem-version

    (compare)

  • Jan 31 2019 21:45

    jbevain on master

    Preserve subsystem version in N… Merge pull request #568 from jb… (compare)

  • Jan 31 2019 21:45
    jbevain closed #568
  • Jan 31 2019 21:45
    jbevain closed #512
  • Jan 31 2019 21:35
    jbevain opened #568
  • Jan 31 2019 21:35

    jbevain on subsystem-version

    Preserve subsystem version in N… (compare)

  • Jan 31 2019 18:27

    jbevain on new-sdk

    Update nunit and nuspecs projec… (compare)

  • Jan 31 2019 17:02

    jbevain on new-sdk

    Move to SDK style projects No need to copy test resources … Fix getting test resource path … and 7 more (compare)

  • Jan 31 2019 17:00

    jbevain on stack-size-pe64

    (compare)

  • Jan 31 2019 17:00

    jbevain on master

    Use the same pe64 values for st… Merge pull request #567 from jb… (compare)

  • Jan 31 2019 17:00
    jbevain closed #567
  • Jan 31 2019 17:00
    jbevain closed #537
  • Jan 31 2019 16:53
    jbevain opened #567
Virgile Bello
@xen2
so that's not something that we could contribute to by working on it?
I will check feasibility of sponsoring with my company
Greg Ros
@GregRos
Sort of wondering if Rocks needs some more extension methods, like these I wrote for myself. That's just semi-internal stuff of course. Anything public would be more formal.
Carlo Kok
@carlokok
Does cecil allow for easy lookup by token id?
got it.
Carlo Kok
@carlokok
Any way in cecil to read a metadata blob?
Opposed to the whole PE File
James Davis
@debugthings
@carlokok Are you looking to read just the metadata bytes?
Carlo Kok
@carlokok
@jldgit I'm getting JUST the metadata bytes from an API and have to read that.
@jldgit Anyway that was a few days ago; I've solved this with a hack
Licshee
@Licshee
when i try to pass generic arguments from generated caller method to a generic type, it gives me "declared in another module", how i solve this?
markjerz
@markjerz
Hi, any thoughts on when there may be (or is there already) a .Net core compatible nuget (assuming pre-release) package? Thanks
Sreenath
@Page-Not-Found
Hi All. I am new to Cecil. This might be a very basic question. Is Cecil and Microsoft.Cci are same? Can they be interchangeably used?
codingadventures
@codingadventures
No they are not the same although both libraries have the same purpose. You can use one or the other depending on what suits you (I would go for Cecil)
Sreenath
@Page-Not-Found
I am trying to migrate some code over from Microsoft.Cci to Cecil. Is there an easy way to find out the mapping between them so that I can swap one for the other? Some pointers would be great. I have been struggling with this for quite a while.
Sergey Aseev
@Serg046
Hello, anybody here? Could you please help?
Oleg
@fi11er
Hello, is cecil suitable for creating backend for compiler to il for my own language? or there are other technologies for this purpose?
Carlo Kok
@carlokok
@fi11er Thats what we use it for ...
Oleg
@fi11er
@carlokok ty
Antoine Cailliau
@ancailliau
Hi guys! Is there anybody out there?
Antoine Cailliau
@ancailliau
Well. I found a solution to my problem. Using 0.10.0-beta5 solved it.
Jack
@genterminl
I'm trying to install cecil under Gentoo, and it fails because mono (5.2.0.196) already has cecil installed. (The conflict is within emerge, the Gentoo package manager.) I'm curious if this is a known problem, and what the suggested resolution is. Building mono without cecil in the first place is "in the works" but seems to be a real pain and non-trivial.
无敌炜哥
@wangweiai
how can i use cecil with c++?
DemoXin
@DemoXinMC
https://hastebin.com/utecekejiq.cs
Can someone explain to me why I'm getting a FileNotFoundException on line 50 here?
Importing a type works fine, but 2 lines later, importing a method doesn't?
Carlo Kok
@carlokok
could it be something in Cecil changed in regards to Deferred loading?
It used to be that I could open it in deferred mode but it wouldn't keep the file open
Jordan Andrews
@codingupastorm
Looks like this place isn't too active - but anyone know of an easy way to detect if the code contrains threading?
Can check for calls to 'System.Threading' but I was wondering if there's anything more robust - thought maybe 'IsSynchronised' would be helpful but it doesnt seem to be
Kevin B
@Keboo
@codingupastorm I think the bigger question is what counts as "contains threading". This is not an easy questions to answer, especially with the Task Parallel Library (TPL) and everything that is built using it (async/await feature in C# being the biggest). Because the TPL library is an abstraction over threading, you can't actually guarentee that calls to things like Task.Run will be run on a thread (by default it uses the thread pool but ti doesn't have to).
Also you might also consider calls like int id = System.Threading.Thread.CurrentThread.ManagedThreadId; that might be sprinkled through out logging code. Should methods with this also be considered to contain threading?
Jordan Andrews
@codingupastorm
hah, great question thanks @Keboo - so I would like to detect any situation where threading may be involved - the bigger picture use case is to be able to check if a program is 'deterministic' - i.e. will return the same result, given the same input, always, regardless of underlying architecture, datetime, etc
I have already realised that a huge amount of system objects involved or reference threading (e.g. exception constructor gets resource string from resources file, uses thread to do so)
alternatively, if you think that analysing the dll instructions isn't the best way of detecting possible thread creation, and there is another way, I'd be so happy to hear any ideas
Adam Houldsworth
@RaringCoder
First message of 2018 :-) I don't know much about Mono Cecil, I'm trying to test if a given TypeReference is assignable to another TypeReference.
I know how to achieve something similar in Reflection.
Carlo Kok
@carlokok
I'm reading an assembly + debug info (ppdb in my case)
there seems to be great facilities to write debug info
but how do I find a function given filename, row
Emile Badenhorst
@Myvar
HI, i create a program that add methods(static) to an existing type in some Assembly, then at runtime that assembly executes and uses reflections to list all the methods in the type that i added a method to the problem is that reflections only lists the methods that was there before i reweaved the assembly, and if i decompile the binary with ilspy the method is there like it should be ?
Emile Badenhorst
@Myvar
nvm im stupid
Andrew
@zezba9000
Is there a way to detect if a class is anonymous besides its name "<>f__AnonymousType0`1"
... in a TypeDefinition
Andrew
@zezba9000
are ModuleDefinition.Types auto sorted by dependencies?
Andrew
@zezba9000
Running into a bug where MemberReference.Resolve is resolving the wrong module
Have a custom corelib called: IL2X.Portable.CoreLib which implements System.Int32 but MemberReference.Resolve resolves it out to be System.Private.CoreLib::System.Int32
So its trying to use the official .NET Core one instead of the one my test app is linked to.
Andrew
@zezba9000
Fixed the issue but need more info for pull request: jbevain/cecil#571
@jbevain
tn07
@tn07
@jbevain can you upload a new nuget package with the latest bits please?