Giter VIP home page Giter VIP logo

dereviewer's People

Contributors

yuske avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dereviewer's Issues

Failed to Analyze .NET application: 'Path cannot be the empty string or all whitespace'

When debugging DeReviewer with the arguments:

analyze C:\Users\<username>\source\repos\MyFrida\MyFrida\bin\Debug\net7.0\MyFrida.exe

I am getting the error:
"System.ArgumentException: 'Path cannot be the empty string or all whitespace.'"

In this line:

Directory.CreateDirectory(name);

Fix:
You should add a flag for the output folder and add a directory to analyze and not to a specific file:

analyze C:\Users\<username>\source\repos\MyFrida\MyFrida\bin\Debug\net7.0 -o gagafolder

Some issues to build the project - Guide to Fix

In this issue, I will share some issues I had while trying to build it and how to fix them.

  1. "The type or namespace 'PhysicalFileSystem' could not be found"
    I had this error when trying to build:
    image

It happens from here:
https://github.com/yuske/DeReviewer/blob/master/DeReviewer.KnowledgeBase/Cases/FileWriterPatterns.cs#L60-L62

In my case I didn't see the reason for that so I commented on these three rows as a workaround.

  1. Import dnlib
    In this project, the dnlib library appears only as a link so you need to import it from here:
    https://github.com/0xd4d/dnlib/tree/d59983add143e156c09797d563bc6d27b8520224

This is the original link that was used in DeReviewer.

  1. "The current .NET SDK does not support targeting .NET Standard 2.0"
    This error is also related to the dependencies of dnlib. To solve it I used the answer from StackOverflow. I used the installation of Visual Studio (2017 in my case) to add ".net Core 2.0 development tools" from the ".Net Core cross-platform development".

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.