Get address book via IPC

Adapted to Android 10, which can bypass conventional privacy detection sandbox stubs private static Bundle createSqlQueryBundle(String selection, String[] selectionArgs, String sortOrder) { if (selection == null & amp; & amp; selectionArgs == null & amp; & amp; sortOrder == null) { return null; } Bundle queryArgs = new Bundle(); if (selection != null) { queryArgs.putString(“android:query-arg-sql-selection”, […]

IPC function intermodulation statement

[ {<!– –> “FunctionName”: “debug”, “FunctionIndex”: “0x0”, }, {<!– –> “FunctionName”: “hello”, “FunctionIndex”: “0x2” } ] functionsMap.c #include “functionsMap.h” #include <cjson/cJSON.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/stat.h> struct functionsMapJson {<!– –> cJSON *FunctionsName; cJSON *FunctionsIndex; }; struct functionsMapItem {<!– –> char FunctionsName[255]; uint32_t FunctionsIndex; char ReturnResult[255]; struct functionsMapJson config; }; int32_t functionsMapCreate(struct functionsMapTable […]

In-depth analysis of Android Binder IPC mechanism

The success of the Android system is inseparable from its powerful IPC (Inter-Process Communication) mechanism, the most eye-catching of which is Binder. This article will delve into the technical principles of Binder, explaining how it works and related key concepts. What is Binder Binder is the IPC mechanism in the Android system, which allows efficient […]

In-depth analysis of Android Binder IPC mechanism

The success of the Android system is inseparable from its powerful IPC (Inter-Process Communication) mechanism, the most eye-catching of which is Binder. This article will delve into the technical principles of Binder, explaining how it works and related key concepts. What is Binder Binder is the IPC mechanism in the Android system, which allows efficient […]

Linux inter-process communication IPC (pipe fifo mmap)

1. Introduction to inter-process communication: In the Linux environment, the address spaces of each process are independent of each other. Variables in any process are invisible in another process, so they cannot be accessed between processes. To exchange data, you must go through the kernel and open up a buffer in the kernel. Area, process […]

Linux – About the communication mechanism of System V IPC

System V IPC (Interprocess Communication) is a mechanism for realizing inter-process communication in Unix/Linux operating systems. It includes three communication methods: Message Queue, Shared Memory and Semaphore. It has a distinctive feature, that is, its specific instance appears in the form of an object in the kernel, called an IPC object. Each IPC object has […]

[IPC communication] Signal processing interface Signal API (6)

The idea of sending and receiving signals is one of the Linux programming features. A signal can be considered as a soft interrupt, which is used to notify the process of asynchronous events. The signal processing content described in this article comes from Linux man. This article mainly introduces each API in detail to better […]

[IPC communication] Signal processing interface Signal API (5)

The idea of sending and receiving signals is one of the Linux programming features. A signal can be considered as a soft interrupt, which is used to notify the process of asynchronous events. The signal processing content described in this article comes from Linux man. This article mainly introduces each API in detail to better […]

Linux inter-process semaphore communication IPC (sem), mmap file memory mapping (inter-process file sharing)

1. Semaphore A semaphore is a primitive used to provide a means of synchronization between different processes or between different threads from a given process. 1.1. Selection of Posix semaphore 1) Shared by each thread of a single process, memory-based semaphores can be used. 2) When different processes that are not related to each other […]

Process (daemon process–mutex lock–IPC mechanism–producer model–zombie process and orphan process–simulated ticket grabbing–message queue)…

Table of contents 1: Process theoretical knowledge 1.Theoretical knowledge 2: What is a process? Three: Zombie processes and orphan processes 1. Zombie process Four: Daemon process 1. What is a daemon process? 2. The main process creates a daemon process 3.Daemon process Five: Mutex lock (simulating multi-person ticket grabbing) 1.What is a lock? 2. What […]