Code Monkey home page Code Monkey logo

Comments (2)

wtfsck avatar wtfsck commented on August 30, 2024

R2R was never supported. Can you just save it as a normal .NET assembly without any native code (I assume the metadata and original IL code is still in the file).

foreach (var section in origSections) {
if (section.Chunk.RVA != section.PESection.VirtualAddress)
throw new ModuleWriterException("Invalid section RVA");
}

from dnlib.

FickoDeLux avatar FickoDeLux commented on August 30, 2024

Maybe with this little test dll would work, but I tryed more complex module and it stoped running on linux.
Only way I was able to make it work if I did the following:

1.) Use "crossgen2.exe --compile-no-methods --targetos:windows" to strip native code and convert it to windows PE.
2.) Save module (because it is a windows PE still mixed assembly)
3.) Use "crossgen2.exe --compile-no-methods --targetos:linux" to convert it back to linux PE

from dnlib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.