Re: Comments for reverse idea



Wannabee wrote:

I just had an idea, but I am not sure its worth pursuing cause I dont know
anything about the subject. So I would like comments from anyone with
knowledge on such things.

Is it possible to create a x86 CPU emulator, that "records" an app?

I mean, the cpu reverses any app each time it run right?
So, could you not run an app in such an emulator, that simply
recorded everything while executing it so that it could from
theese recording analyzes, just print everything that has executed?
Including data etc. ?

Think to take a large app that you need for just a few small
things. Like loading a document, and print it.
You start it, and then you perform just the things you need,
and you close it. Then you print everything thats has happen to a new
exe, that may just contain a smaller piece of the whole app?

Is this an insane idea? Or could it be doable to some degree?

You mean you want to "run" a large app through this "magic machine" of
yours, use a limited subset of it's functionality, and have this
"magic machine" somehow output an executable piece of code that
contains _only_ the functionality of the app that you used?

If this is what you meant, then no. The CPU, or any emulator is too
dumb for such things. Simply dumping the memory contents of an
executable and it's data is not guaranteed to produce any meaningful
results at all, if you attempt to execute it.

On the other hand, this is called redesign and can be done by a
programmer with access to the source and a decent toolkit.

.



Relevant Pages

  • Re: How protect proprietary Python code? (bytecode obfuscation?, what better?)
    ... code is executing on their CPU, and if the CPU can execute it, so ... keep a tiny part of your app, embedding all worthwhile secrets, on YOUR ... considered a real problem for many cases: but today, connectivity is SO ...
    (comp.lang.python)
  • Re: CPU Racing w/ Idle App
    ... When this happens, ... that thread to see where it is executing. ... the user's CPU starts getting hammered. ... > Performance Monitor Process Explorer to look at ...
    (microsoft.public.dotnet.framework)
  • Re: CPU Racing w/ Idle App
    ... When this happens, ... that thread to see where it is executing. ... the user's CPU starts getting hammered. ... > Performance Monitor Process Explorer to look at ...
    (microsoft.public.dotnet.framework.performance)
  • Re: CPU Racing w/ Idle App
    ... When this happens, ... that thread to see where it is executing. ... the user's CPU starts getting hammered. ... > Performance Monitor Process Explorer to look at ...
    (microsoft.public.dotnet.framework.clr)
  • [Summary] Diagnosis fun...
    ... 2% idle time sucks, and more than likely the system is CPU bound, and can ... app depends so heavily on the kernel, ... I replaced the default Solaris 8 TimeSharing dispatch table ...
    (SunManagers)

Loading