Windows 是否支持从内存运行程序? [英] Does Windows supports running a program from memory?

查看:36
本文介绍了Windows 是否支持从内存运行程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现您可以在 Windows 中从内存中运行程序.但是这个功能是否被认为是一种黑客行为(有一天可能不再起作用),或者 Windows 是否支持这个功能?

I have found out that you can run a program from memory in Windows. But is this functionality considered to be a hack (that could one day not work anymore), or does Windows supports this functionality?

这是一个讨论这个主题的线程:从内存缓冲区创建进程

This is one thread that talks about this subject: CreateProcess from memory buffer

推荐答案

Windows 不支持从内存运行进程,只能从文件运行.从内存中运行进程是一种依赖于未记录的实现细节的技巧,这些细节可能会发生变化.换句话说,MS 可以在未来的操作系统版本中完全改变系统设计,从而使现有的内存运行代码停止工作.

Windows does not support running processes from memory, only from file. Running processes from memory is a hack that relies on undocumented implementation details which are subject to change. In other words, MS could perfectly well change the system design in a future OS release such that existing run from memory code stopped working.

这篇关于Windows 是否支持从内存运行程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆