Coder Social home page Coder Social logo

Error allocating memory about adobe-genp HOT 4 OPEN

cw2k avatar cw2k commented on August 22, 2024
Error allocating memory

from adobe-genp.

Comments (4)

ByteLabDev avatar ByteLabDev commented on August 22, 2024

image

from adobe-genp.

cw2k avatar cw2k commented on August 22, 2024

That's a 'known' bug.
Patching process is extremely memory wasteful.

The whole file is read into memory.
Converted to hex string and then a regular Expression search and replace is applied.

The hex string quirk is probably there because there maybe some problems when applying the regexp on the real binary data. As I know from Python that stupid string encoding / decoding thing is always I source for 'surprises'. In general I understood the idea and the examples however when it comes to 'real data' I mostly see that some unexpected byte mutations going on.
Or maybe because there are limitation of the search string like it gets cut of after some /00 char.

I just decompiled the thing. Renamed the vars and functions and did some refracturing.
As well as fully understood the code and saw it design weaknesses. But haven't the time and energy to do something about them and to improve it.

from adobe-genp.

ByteLabDev avatar ByteLabDev commented on August 22, 2024

Oh I understand. Sorry I misunderstood this repository

from adobe-genp.

hexfactor avatar hexfactor commented on August 22, 2024

@ByteLabDev Are you running the raw Adobe-GenP-3.0.au3 script or an executable?

If you're running the script directly, the problem might stem from the interpreter limiting the memory allocated to each script.

Compiling the script first as an executable (making sure to select x64) should solve it.

from adobe-genp.

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.