Coder Social home page Coder Social logo

isle's Issues

Bug: The import script re-imports some functions that have not changed

Some functions are always incorrectly detected as having been changed. This is not a major issue, but it's still a little confusing: You see Changed functions: 130 when 0 would be correct.

Tasks:

  • Reuse and verify all kinds of types instead of re-recreating them every time (e.g. Enums)
  • Correct difference detection for functions whose return types is larger than 4 bytes
    • These are imported correctly, but Ghidra modifies them on creation, so the delta detection fails on the next run

Feature: Run the Ghidra import script run in CI

  • Try to make the Ghidra script run in GitHub Actions
  • If that works:
    • Set up a user account for the CI
    • Automatically run the script on new merges to master

based on #909 (comment)

Notes:

Discussion: Should we specify a canonical location for the retail binaries within the repository?

Currently, there appear to be multiple conventions for the location of the retail files.

  • The CI downloads them to /legobin, which is not ignored by git.
  • The legacy files are ignored by git when placed directly under the repository root, suggesting that some people put them there.
  • At least one person prefers to keep them outside the directory entirely (see #909 ).

A common standard would be preferable so the Ghidra import script would not need a configuration file. It would also make scripscripts for common workflows more shareable.

What do you think?

Feature: Support stubs in Ghidra Import script

  • Make the Ghidra import script import names, addresses and call type for stubs instead of ignoring them
  • Don't import arguments, as we will lose Ghidra's automatic argument detection otherwise
  • Consider adding a note/comment in Ghidra that this function is a stub, and auto-remove / change that when the stub is changed to a function

based on #909 (comment)

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.