Giter Site home page Giter Site logo

Fails to handle type 24 about symdump HOT 5 CLOSED

stohrendorf avatar stohrendorf commented on May 28, 2024
Fails to handle type 24

from symdump.

Comments (5)

stohrendorf avatar stohrendorf commented on May 28, 2024 1

Tried to implement it, can you test it please?

from symdump.

stohrendorf avatar stohrendorf commented on May 28, 2024 1

I did the first analysis and fixed a few bugs already, but I also encountered a valid non-uniform definition of a struct (KI2 here), which means I need to do some refactoring to handle this to avoid wrong symbol signatures.

from symdump.

stohrendorf avatar stohrendorf commented on May 28, 2024 1

It became much more complicated than anticipated. There are some "optimizations" in the debug symbol files that are making things easier for the debugger, but make it more complicated for me to properly restore symbol types. I have a few ideas how to handle this, but I can't tell how long it will take.

from symdump.

MrSapps avatar MrSapps commented on May 28, 2024

System.ArgumentException: 'The output char buffer is too small to contain the decoded characters, encoding 'Unicode (UTF-8)' fallback 'System.Text.DecoderReplacementFallback'.
Arg_ParamName_Name'

  public static string ReadPascalString(this BinaryReader fs)
        {
            var length = fs.ReadByte();
            var result = "";
            while (length-- > 0)
                result += fs.ReadChar();
            return result;
        }

on ReadChar()

SymFile attached.

MAIN.zip

Edit: At a random guess perhaps its a Japanese string?

from symdump.

stohrendorf avatar stohrendorf commented on May 28, 2024

Should work now, please test.

from symdump.

Related Issues (4)

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.