The core principle of reverse engineering -- message hooking
HOOK
The English word Hook, translated into Chinese, means "Hook" and "fish Hook", which generally refers to all tools used to catch what you need. The basic meaning of "Hook" extends to "the means or tools used to peek or intercept information". Here are some examples to further illustrate the concept o ...
Posted by dhope on Tue, 07 Dec 2021 23:21:05 +0100
C + + learning day 8 - structure
Structure: it is a user-defined data type and allows users to store different data types
Syntax: struct structure name {structure member list};
There are three ways to create variables through structures:
1. struct structure name variable name
2. struct structure name variable name = {member 1 value, member 2 value};
3. Creat ...
Posted by Eric! on Tue, 07 Dec 2021 22:34:32 +0100
Effective C + + reading notes ~7 template and generic programming
Article 41: understanding implicit interfaces and compile time polymorphism
Understand implicit interfaces and compile-time polymorphism.
Explicit interface and runtime polymorphism
In object-oriented programming, explicit interface and runtime polymorphism are used to solve problems. For example:
class Widget {
public:
/* Explicit interfa ...
Posted by grissom on Tue, 07 Dec 2021 22:04:24 +0100
Training record 6: data structure
Priority queue
poj3614
Meaning: a group of cows bask in the sun. Each cow has a limit of solar intensity, minSPA and maxSPA, but the sun is too fierce. Cows need to apply sunscreen to bask in the sun. Sunscreen can fix the solar intensity at a value. If it is smaller than minSPA, it will still burn. If it is larger than maxSPA, cows will not ...
Posted by LBmtb on Tue, 07 Dec 2021 01:56:33 +0100
Mathematical knowledge: Euler function, fast power, extended Euclidean algorithm, Chinese remainder theorem
Euler function
Solving Euler function by formula method
Basic principle: O(n √ ai)
Example: Euler function
given n positive integers ai, please find the Euler function of each number.
Definition of Euler function
1 ∼ N and N The number of Coprime numbers is called the Euler function a ...
Posted by dirkie on Mon, 06 Dec 2021 05:44:18 +0100
C + + Notes general new operator and positioning new operator
Usually, new is responsible for finding a memory block that can meet the requirements in the heap. There is another variant of the new operator, called the placement new operator, which allows you to specify the location to use. Programmers can use this feature to set their memory management procedures, deal with hardware that needs to be acces ...
Posted by cgchris99 on Sun, 05 Dec 2021 17:59:55 +0100
Between C + + multithreads, after the thread function is started, multithread dependent startup and thread wake-up operations.
1, Principle analysis
1. Thread dependency
This article explains that in multithreaded functions, there are dependencies between threads and shared data.
Thread ABCD. A notifies B after completion, B notifies C after completion, C notifies d after completion, and a after completion. This cycle continues. A—>B—>C—& ...
Posted by crochk on Sun, 05 Dec 2021 16:20:42 +0100
C++11 - thread multithreading programming
1 thread creation and end
Four header files are introduced into the new C++11 standard to support multi-threaded programming. They are < atomic >, < thread >, < mutex >, < condition >, respectively_ Variable > and < future >.
< atomic >: this header mainly declares two classes, std::atomic and std::atomi ...
Posted by tkreinbring on Sun, 05 Dec 2021 14:51:34 +0100
Entry C + + this article is enough
● 🧑 Personal homepage: You're handsome. You say it first ● 📃 Welcome to praise 👍 follow 💡 Collection 💖 ● 📖 Having chosen the distance, he only cares about the wind and rain. ● 🤟 If you have any questions, please feel free to write to me! ● 🧐 Copyright: This article is original by [you Shuai, you say first.] and launched by CSDN. Infring ...
Posted by padanaram on Sun, 05 Dec 2021 12:20:47 +0100
C/C + + 100 questions punch in [3 / 100] - Joseph problem
⌛ The origin of Joseph's problem: [finally, we will test it to see if it is correct]
it is said that Joseph, a famous Jewish historian, once had the following story: after the Romans occupied jotapat, 39 Jews hid in a cave with Joseph and his friends. 39 Jews decided that they would rather die than be caught by the enemy, so they dec ...
Posted by j4v1 on Sun, 05 Dec 2021 08:10:14 +0100