Giter Site home page Giter Site logo

Comments (3)

trou avatar trou commented on September 22, 2024

Hello,
thanks for the report. Which version of IDA are you using ? on which OS ?

from bincat.

DarkaMaul avatar DarkaMaul commented on September 22, 2024

I'm using IDA 7.2 on Linux.
However, after more research I think the bug comes from ConfigParser in itself ( Python #11597 )

There is also another problem when the configuration is edited using the "Edit button" in the GUI. The result string is saved "as-if" in the AnalyzerConfig object, without passing any validations sets by the different setters for the fields.

I guess the following snippet explains it better:

    def validate_config(self, config):
        # A mapping of config fields => setter names
        translator = {'cut': 'stop_address', 
                      'analysis': 'analysis_method', 
                      'filepath': 'binary_filepath',
                      'headers': 'headers_files',
                      'analysis_ep': 'analysis_ep',
                      'in_marshalled_cfa_file': 'in_marshalled_cfa_file',
                      'format': 'format'}

        for section in config.sections():
            self._config.add_section(section)
            for item, value in config.items(section):
                if item in translator:
                    setattr(self, translator.get(item), value)
                else:
                    self._config.set(section, item, value)

Note : this does not solve this issue but would solve others (e.g if you change the start address in the config edit-panel to a non hex-represented value)

from bincat.

trou avatar trou commented on September 22, 2024

Regarding the encoding problem, it seems I cannot trigger it with the current master.

i'll check the other issue later.

from bincat.

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.