Chapter 501: Analyzing Code

Xiao Yuan found that the problem was during the analysis of the packets after 03:12:31, when the different packets were not exactly the same, indicating that the world had not completely stopped.

The analysis tool compares each memory data sample and displays the data in the form of charts, so that Xiao Yuan can observe the change characteristics of these data more intuitively, but because it takes a certain amount of time to analyze the data, the change of the image is much slower than the monitoring image of the god program.

Because the image here is the same as the display principle of the god monitoring program, the graphics displayed are exactly the same as those there, at the beginning, the image has a clear difference from other places The area is slowly moving around, Xiao Yuan knows that this vortex is the image of the seed code in the world.

Seeing that the image of the seed was still there, Xiao Yuan remembered that in the first stage of analysis, in the memory images that no longer changed, it seemed that the seed was gone.

"Is it obliterated?" Xiao Yuan stared at the analysis process on the computer screen, and secretly thought in his heart, "No, if the seed is wiped out, God should quickly restore the balance of the world, but the truth is that it has not been restored, something must have happened in this that I didn't expect." ”

"Huh, what's going on?" While he was thinking, Xiao Yuan found that the seed that was still very obvious on the image, and that it could be distinguished at a glance suddenly disappeared, and then the image changed two more frames, and then it was still, neither continuing to restore the balance, nor continuing to change because of the imbalance.

Xiao Yuan paused the analysis software, extracted a memory sample from the point in time when the image was still, and compared it with the last memory sample file—exactly the same.

"The seed suddenly disappeared, and then the god didn't work anymore, and it kind of ended up together."

Xiao Yuan replayed the evolution of the image just now, staring at the image on the screen with wide eyes, trying to see what happened at the moment when the image disappeared, but found nothing.

So he simply didn't let the graphics run automatically, but manually let these images appear frame by frame, carefully observed, stopped in the last frame where the image disappeared, and after careful observation, he still found no problems, so he extracted the memory sample of this frame, extracted the seed code separately, and disassembled it.

After getting the compilation program of the seed program at this moment, Xiao Yuan found that it had changed a lot compared to the program before the seed was put into the world for evolution, and when he read it, he felt like he was reading a brand new program, and he knew that this program was from him at all.

"It seems that the seed has evolved on its own, but why did it disappear automatically?" Xiao Yuan struggled to find traces of the automatic disappearance of the seed in the code.

After reading through the program, Xiao Yuan found that the evolved seed program had increased a lot in length and complexity, and there was a strange code in it.

"That's why the seed can disappear suddenly." Xiao Yuan felt as if he had found the answer, but the code was obscure and incomprehensible, which made him feel a little hurt.

"Hell yes." Xiao Yuan couldn't help but curse, then read this code several times, and drew the registers involved in it and the data flow between registers into an image, and found a detailed manual of CPU coding for this workstation, and compared it bit by bit.

After reading it a few times, Xiao Yuan felt more and more that these two ends of the program were a little extraordinary, and had a faint premonition that reading these two ends of the program would be the key to his unraveling the abnormal performance of the seed program and the god program.

Finally, Xiao Yuan found the most critical logic from these codes, but he was taken a jump by his discovery, and even a little unbelievable, because this code actually used a very ingenious method to complete a remote jump, and the jump to the destination was beyond the memory range of the world created by God, and the instruction it used turned out to be a special instruction sequence of the workstation CPU, and this instruction Xiao Yuan didn't know in advance, let alone write it into the program.

Xiao Yuan wondered in his heart, if it weren't for his very rich experience in reading code, and the detailed information of the CPU instruction set at hand, what this code was for, even if he read it a hundred times, I am afraid he would not know.

"It's just that there is such a snippet in the code of the torrent program?"

Xiao Yuan was puzzled by this phenomenon, and felt that he would be very unwilling if he didn't figure out this phenomenon, so he took out the seed binary code before the disassembly again, and decided to start with the binary code to try to find any clues.

It is obviously not feasible to read the binary code directly, but fortunately, Xiao Yuan has another tool in his hand, the interface of this tool is divided into two columns, the left column is the binary code, and the right column is the assembly code corresponding to the binary code.

It's a pity that after reading it twice like this, Xiao Yuan still didn't find any rules, and then realized that there was a bit of a problem with his research ideas, and the program of the seed must have evolved, that is to say, its code itself is constantly evolving.

Now that he realized the problem, Xiao Yuan immediately changed his strategy, intercepted the binary code of the seed program in multiple memory samples, and then compared the binary code at these different points in time longitudinally, focusing on the evolution process of that singular code, and constantly comparing the CPU instruction manual at hand.

After some comparison, Xiao Yuan thought that the evolution of the seed program was still affected by the god program, so he took the god program code and did a very comprehensive analysis and comparison horizontally and vertically, and two hours later, he finally figured out the origin of this code, but he was secretly surprised in his heart.

First of all, it is necessary to determine that this code is not generated out of thin air, although the seed program has some preliminary evolutionary functions, but it is not intelligent enough to analyze the CPU instruction set autonomously and use it to the extent of rebellion, but its source also makes Xiao Yuan feel a surprise, because this code is learned from the god program, and the code in the god program comes from the assembly, and the assembler automatically optimizes it.

There is another thing that surprised Xiao Yuan even more, the code learned by the seed program actually took advantage of a loophole in the monitoring mechanism of the god program itself, and the execution regretted making a remote jump across segments, and copied itself into the code segment of the god program, and among the seed rules set by Xiao Yuan, one of them is to prohibit the seed from self-replicating and reproducing, so when the seed copies itself into the god code segment, the seed in the world automatically self-destructs.

The seed encroaches on the code segment of the god program, resulting in a part of the code segment of the god program being destroyed, thus losing part of the function, and this part of the function is precisely the balance repair function of the world, so that after the seed suddenly disappears, although there is a large number of imbalances in the world, the god does not repair it.

After the seed entered the code segment of the god program, its own safety was guaranteed, and there was no danger of being modified or erased, so according to the evolutionary model originally set by Xiao Yuan, its self-evolution stopped, and the code no longer run.

"I can't imagine that this program was able to find a vulnerability in the god program, is it a coincidence, or is it the reason for its self-evolution, I need to do another experiment......

Xiao Yuan found something very interesting, and then came up with some new ideas, so he did a few more experiments to verify them, if these ideas were true, he felt that he seemed to have found a very practical big killing weapon.