Git Product home page Git Product logo

Comments (4)

mumbel avatar mumbel commented on June 17, 2024

Not certain on best approach, but you can file->'add to program' and select same ROM. In that popup you'll want to click 'Options' where you can specify alternate load address, offset into file, data Len, and block name

from ghidra.

esaulenka avatar esaulenka commented on June 17, 2024

Ok, thanks. IDA converts this automatically (when i name dword 0xA000abcd as pointer, it become indicate to 0x8000abcd).
For me, this task looks like good start point to learn how to write plugins for Ghidra ;-)

from ghidra.

mumbel avatar mumbel commented on June 17, 2024

I asked a Dev in my pull request. Seems possible both in code and when loading from his answer

from ghidra.

mumbel avatar mumbel commented on June 17, 2024

Sorry hadn't had much time to play with this. Do not know how to automate this, but it seems really good from a quick glance with this setup:

  • load rom at 0x80000000, don't auto-analyze yet
  • open memory map settings, add new, add a name, offset 0xA0000000, length 0x180000, click execute check-box, choose byte-mapped in drop down, new address option should already be 0x80000000.
  • open memory map settings, add new, add a name, offset 0xC0000000, length 0x180000, click execute check-box, choose byte-mapped in drop down, new address option should already be 0x80000000.
  • save memory map
  • auto-analyze
    e/ well maybe i don't know what i'm looking at, seeing some issues. but is this closer to what you were looking for

from ghidra.

Related Issues (18)

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.