Giter VIP home page Giter VIP logo

Comments (8)

ufrisk avatar ufrisk commented on July 17, 2024

in initialize call add two entries to argv, i.e. -memmap and <filename_of_memmap>

from memprocfs.

njbrown09 avatar njbrown09 commented on July 17, 2024

Yes but how do we save? It just gives a file error.

from memprocfs.

ufrisk avatar ufrisk commented on July 17, 2024

what do you mean with save? just save it as any kind of text file to any drive on your computer?

example: save this below to a text file memmap.txt

     1000 -        9cfff
   100000 -       101fff
   103000 -     ad137fff
100000000 -    43e5fffff

from memprocfs.

ufrisk avatar ufrisk commented on July 17, 2024

I had a but in the memory map parsing causing some memory maps to fail loading. I made a small change so if you download the latest version it should work hopefully; please let me know otherwise. I'm closing this issue since it should now be resolved.

from memprocfs.

njbrown09 avatar njbrown09 commented on July 17, 2024

Yes but how do we have it save a memory map. I need to be able to have the library save the memmap and load it. Manually making a text file will not work in my case.

from memprocfs.

njbrown09 avatar njbrown09 commented on July 17, 2024

Essentially if the file doesnt exist, generate a memory map and save it.

from memprocfs.

ufrisk avatar ufrisk commented on July 17, 2024

two options:

  1. Retrieve and iterate over VMMDLL_MAP_PHYSMEM by calling VMMDLL_Map_GetPhysMem() to generate it yourself.

  2. Read it from the file system programatically by calling:
    2.1. VMMDLL_InitializePlugins() - to initialize plugin sub-system (required by VfsRead) unless already done.
    2.2. VMMDLL_VfsRead() on file /sysinfo/memory/physmemmap.txt

from memprocfs.

ufrisk avatar ufrisk commented on July 17, 2024

also, to load the memory map, you may specify it as a parameter to a file at startup;

or, after startup (if possible in your use case) to load it into the LeechCore by calling LcCommand() with LC_CMD_MEMMAP_SET and a buffer with your memory map contents.

from memprocfs.

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.