boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - help on self modifying code
相关主题
why int** cannot convert to const int** ?
C的问题,高手请指点
如何做GUI
*** help needed! on MATLAB GUI ***
how to get runtime caller function?
请教一个C++有关的编译问题
error while building gcc
一个简单的问题
A C++ runtime type casting question
IDL一问
相关话题的讨论汇总
话题: some话题: modifying话题: self话题: runtime
进入Programming版参与讨论
1 (共1页)
j******n
发帖数: 271
1
I'm looking for some guide on self modifying code. I googled quite a bit but
didn't find anything other than trivial, e g, copy a whole function to some
data area and then call the function from the new location. I am searching
this not just for fun, but for a real business problem, specifically
something like this:
some instruction;
// i'd like to insert some instruction here at runtime
more instruction;
// i'd like to insert some more instruction here at runtime
Can somebody shed some light or provide some links, reference books? I'm
running on linux/intel. I'd do it in C/asm and I don't care about
portability. Many thanks.
v*s
发帖数: 946
2
没搞明白你到底想干什么。
1 (共1页)
进入Programming版参与讨论
相关主题
IDL一问
人无食不活,码无库不通
如何循环播放一个mp3文件中的某一段?
[合集] 请问关于堆栈的问题
关于 exception 的一个问题
急问,有哪位面过微软SDET的大哥啊!能否帮一下小弟!
strcat()
help abt C++
菜鸟请教C问题
问一个奇怪的问题。
相关话题的讨论汇总
话题: some话题: modifying话题: self话题: runtime