My dad's life

Chapter 189 Repair UAV (Part 2)

"There should be a problem with the internal code, I have monitored it." Xiao Ai, who had been standing by and watching, interrupted.

"Then only return to the factory for repair." Fangyuan put down the things in his hands and said, generally like this kind of system code, which belongs to a company's secrets, like the underlying code of Microsoft and Apple, it is impossible to open to the outside world.

“It’s too much trouble to send it back, and I’m a student of electronic engineering, and let someone else fix it, so I’m losing face, so I want to crack the system and fix it by myself. Unfortunately, I don’t know what shell is added. No." Xiao Ai said this to Fang Yuan because she knew that he was a programmer and she must understand herself.

The so-called shell is a program specifically responsible for protecting the software from being illegally modified or decompiled. It is like putting on a layer of clothing. As far as the current market is concerned, there are probably dozens of different shells. Packing software circulated, such as Fangyuan itself, has packed software written exclusively by itself.

If the concept of shells is not easy to understand, you can think of them as down jackets, suits, trench coats, dresses, bikinis, etc. If you want to hey them, you must first remove their clothes.

There are shelling software and naturally shelling software, which can detect the characteristics of the shell and then shell it with one click. For example, down jackets are thick, bikinis have less material, etc. These are its characteristics.

Of course, the programmers who write the code are not stupid. They may wear bikinis, but deliberately make them with feathers to confuse others' sight. This is what we call modified signatures. At this time, the shelling software will not be useful. Yes, we need to take it off manually.

At this time, the decompilation software is on the scene. Through the decompilation software, we can display the shell code in binary, octal, hexadecimal and other forms. If you understand assembly, you can modify it directly, or jump, etc. Way to make the shell invalid.

Of course you have Zhang Liangji, and I have a wall ladder. Software authors can also add some decompiled software features to make the decompiled software invalid, or add a lot of junk code to interfere with the decompiler’s sight, or directly terminate the process. It's still mild, and even more ruthless, as long as you detect that you are decompiling, it will directly cause your computer to blue screen, crash, format the hard drive, or even burn your host.

Therefore, compilation and decompilation are actually a battle of wits among programmers.

In order to protect the host computer from being damaged, the decompiler has sandboxes, virtual machines, shadow systems, etc., to debug in such an independent environment.

"I'll try it." Fang Yuan heard Xiao Ai say that he had no clue, but was intrigued. This is the same as the brassiere who Jie Meimei, the more difficult, the more fulfilling.

Fangyuan connected the drone to the computer, then asked Xiao Ai to find out the debugging software, and began to decompile and debug the drone's system files.

Sure enough, as Xiao Ai said, after opening it with the decompiler, except for some discarded instructions in the header of the file, the following is blank, making it impossible to start.

Fangyuan also found it strange. The file is quite large. Why is there nothing in it?So this invalid instruction is really useless at all?

But who is Fang Yuan? His current computer level is not said to be the best in the world, but it is definitely a top-notch existence. This is not because he knows the spiral algorithm and the DH language, but because of the popularization of the infant education system and the " "H5N1 Reagent" optimized and developed his brain, so that his memory, learning ability, calculation ability, etc. absolutely surpassed the existing human beings, not to mention that he himself was interested in computers, and his computer level was infinitely improved during this period.

So he decisively modified some instructions in these obsolete codes, and then restarted the operation. Sure enough, the real program code appeared, but it was still packed, and in terms of characteristics, it was not the existing one on the market. With the addition of the shell software, Fangyuan manually took off one layer, and then another layer appeared. After three or four layers were removed in a row, as the shell was removed, the program became smaller and smaller. Fangyuan also found it strange. A running system is impossible. Is it just that big?

Seeing that Fangyuan cleanly peeled off the shell of the program layer by layer, Xiao Ai stood behind him with a look of shock and thought.

Before, she found that Fangyuan had very good physical strength, but now that Fangyuan’s computer level is so superb, is he really just a programmer as he said?Are Chinese programmers so awesome now?

After Fangyuan completely unpacked it, he discovered that it was really not a system program. There were some calling protocols used to call other DLL files in the package, so he had to unpack the DLL files called by it again.

Xiao Ai, who had seen Fang Yuan's operation just now, said that she would let her try it by herself. Fang Yuan did not refuse, stood up and gave her her seat, standing behind and watching.

"Dad, what are you doing?" Suddenly Xinxin was at the top of the stairs, bending over, pouting her fart. Looking down, Ai Cai still took her by one hand to prevent her from rolling down the stairs.

Fang Yuan hurried over and helped her and Ai Cai down, "Dad and Aunt Xiao Ai have something wrong."

"It's sister." Xiao Ai said without looking back.

"Well, I have something with my sister."

"Oh, oh." The little guy nodded earnestly, showing a suddenly realized expression, not sure if she really understood.

"Sister, do you think this is fun?" Ai Cai ran to the side, pulled out a white mechanical dog from a lot of parts, pressed the switch, and it turned around underground and made a barking noise, but unfortunately there was one The ears are missing.

Xinxin was full of surprise, feeling much more fun than Xiaobai at home before. It still barked like popcorn. Xiaobai would not scream, only talk, so it was not fun.

"Auntie, there are so many fun things here, let me look for treasures together!" Ai Cai held her breasts upright, as if to do a great thing.

"Okay, okay!" Xinxin responded with joy, this is a real adventure.

So the two little guys started to turn around, Fang Yuan wanted to stop, but Xiao Ai said, "Let them go. They are all junk accessories. Many of them are used for dismantling. I don't feel bad if they break."

"No, you think too much, I'm afraid these messy things will get my daughter." Fang Yuan said seriously.

Little Love:"……."

"Dad, do you think I found a lot of small bugs?" Just then, with a cheer, she ran to Fangyuan with a small iron box.

Xiao Ai stood up abruptly when he heard the words, and said to Xinxin: "There must be a lot of mess here, there must be a lot of bugs, don't be scared, let's give it to my sister." She reached out and took it over.

However, Xinxin let her go. This is a treasure she found, and she hasn't even shown her father.

"Bug?" Fang Yuan was a little confused when he heard the words, and he didn't care, and reached out to take it.

Inside the box are flies, cockroaches, ladybugs, etc., a large box full of them.

"It turns out they are all fake!" Fang Yuan picked up one and said with a smile, but then he felt wrong. Why does this thing look like a spy bug used by agents in the movie?