什么是函数的返回地址,如何在函数里改变函数自己的返回地址

来源:百度知道 编辑:UC知道 时间:2024/05/03 12:08:38
#include <stdio.h>
#include <stdlib.h>

int prologue [] = {
0x5920453A, 0x54756F0A, 0x6F6F470A, 0x21643A6F,
0x6E617920, 0x680A6474, 0x6F697661, 0x20646E69,
0x63636363, 0x63636363, 0x72464663, 0x6F6D6F72,
0x63636363, 0x63636363, 0x72464663, 0x6F6D6F72,
0x2C336573, 0x7420346E, 0x20216F74, 0x726F5966,
0x7565636F, 0x20206120, 0x6C616763, 0x74206C6F,
0x20206F74, 0x74786565, 0x65617276, 0x32727463,
0x594E2020, 0x206F776F, 0x79727574, 0x4563200A
};

int data [] = {
0x63636363, 0x63636363, 0x72464663, 0x6F6D6F72,
0x466D203A, 0x65693A72, 0x43646E20, 0x6F54540A,
0x5920453A, 0x54756F0A, 0x6F6F470A, 0x21643A6F,
0x594E2020, 0x206F776F, 0x79727574, 0x4563200A,
0x6F786F68, 0x6E696373, 0x6C206765, 0x796C656B,
0x2C336573, 0x7420346E, 0x20216F74, 0x726F5966,
0x7565636F, 0x20206120, 0x6C616763, 0x74206C6F,
0x20206F74, 0x7478656

Your score on this question is: 88.00

Feedback:
Feedback for Decoding Lab (v1.0)
Total Score: 88/100

Encrypted Message
Score: 88/100

The First Secret Message
Score: 0/12
The secret message is not correct.

The Second Secret Message
Score: 7/7

The Secret Keys
Score: 17/17

The Description of process_keys12
Score: 12/12

The Meaning of Key1
Score: 12/12

The Meaning of Key2
Score: 12/12

The Description of process_keys34
Score: 7/7

Code Executed when process_keys34 Returns
Score: 7/7

The Meaning of Key3
Score: 7/7

The Meaning of Key4
Score: 7/7

1.The secret message.
From: CTE
To: You
Excellent!You got everything!
2. The secret keys.
Key1=3,key2=777,key3=-1,key4=45.
3.One paragraph describing, in your own prose, what process_keys12 does. For e