[P1393 Dynamic Inverse Pairs] Tree Array Set Dynamic Open-Point Line Segment Tree + Tree Array
P1393
This topic lays a foundation for the division and conquer of CDQ.
Let's start with how this blog works.
We need to know that the number of inverse pairs whose answers are reduced by deleting a number is equal to the value of the coordinates in front of the deleted number is larger than mine.
The v ...
Posted by Zhadus on Fri, 04 Oct 2019 08:36:34 -0700
[uboot] (Chapter 2) uboot process-uboot-spl compilation process
Links to the original text: https://blog.csdn.net/ooonebook/article/details/52949584
...
Posted by SN1P3R_85 on Mon, 26 Aug 2019 23:20:44 -0700
Installation and Verification of x210 Cross-compilation Tool Chain
I am using the board of s5pv210 directly here. According to the method of Mr. Zhu's lecture, install the cross-compilation tool chain according to the installation package provided by the government (also installed with source code, this is a high quality, temporarily press the table)
arm-2009q3.tar.bz2
Put this installation package mv in ...
Posted by ludjer on Fri, 02 Aug 2019 11:56:27 -0700
[C++] Code Implementation: Global Hook Injection Technology
I. Overview
Most applications in Windows are based on message mechanism. They all have a process function to perform different functions according to different messages.
The hook mechanism provided by Windows operating system is used to intercept and monitor these messages in the system.
According ...
Posted by ehutchison on Fri, 26 Jul 2019 06:05:56 -0700
c++ Mixing Potential Problems with Different Standards
Recent projects have used C++ versions of C++ to C++11, but since some static libraries (.a) do not have source code, non-C++11 versions of library files are still being used for linking.It seems like there's nothing wrong with running for a few days now, but I'd like to talk about the potential risks of doing so.
First, it should be noted tha ...
Posted by phpmoron on Tue, 09 Jul 2019 10:45:37 -0700
A way to hide processes under linux
Preface
The tools used in this article are https://github.com/gianlucaborello/libprocesshider Downloadable
The idea is to use LD_PRELOAD to hijack system functions
What is LD_PRELOAD:
LD_PRELOAD is an environment variable on Linux that affects the Runtime linker of a program, allowing you to define dynamic link libraries that are loaded firs ...
Posted by mamoman on Fri, 17 May 2019 02:52:51 -0700
HDU-5692 Snacks Segment Tree+dfs Sequence
Topic link: Click to view
There are n snack machines in Baidu Science Park, which are connected by n_1 roads. Each snack machine has a value of v, which indicates the value of snacks for Koalas.
Because snacks are frequently consumed and supplemented, the value of snack machines v
It changes from time to time. Xiaoduxiong can ...
Posted by Kevin3374 on Wed, 15 May 2019 12:06:13 -0700
android calls third party so Libraries
First of all, we need to know whether the so Library of the third party is written according to jni standard. If so, it's easy to write a native call directly. If not, it will be more troublesome. We must encapsulate the functions in this so Library in the call, and get to the point below.
Assuming that the library is placed un ...
Posted by hasitha on Thu, 09 May 2019 17:12:39 -0700
Using ptrace to inject so into the running process and execute related functions
1. introduction
Using ptrace to inject. so into the running process and execute related functions, the real meaning of the word "injection" is: this. so is link ed to the running process (hereinafter referred to as the target process) space, so that functions in. so have corresponding addresses in the t ...
Posted by kaszu on Sat, 04 May 2019 23:10:39 -0700
Use AddressSanitizer under Windows to detect memory access violations
Use of AddressSanitizer under Windows
brief introduction
AddressSanitizer's function is roughly a variety of buffer overflow detection, such as what's beyond the bounds of an array, which can be used to avoid some undefined behavior, first used for Unix homework, and then can no longer be separated from it...AddressSanitizer ...
Posted by gabrielserban on Fri, 26 Apr 2019 05:12:36 -0700