Smali Introduction Manual

Smali grammar learning summary 1, About Smali 2, Smali syntax 1. Data type (1) Basic types (2) Reference type 2. Basic grammar 2.1 expression 2.2 conditional statement 2.3 loop statement 2.4 try catch statement 3. Class file structure 3.1 header information 3.2 construction method 3.3 other met ...

Posted on Fri, 06 Mar 2020 04:42:21 -0500 by ShadowX

Build computer from 0 to 1 (5 / 10) -- implement hack: computer architecture, memory, CPU and instruction set

After the first two chapters, we have realized all the combinational logic chips and timing chips, and have the foundation to realize the hack computer. This is the last chapter of the hardware part of the project. In this chapter, we will define the operations that hack can perform, i.e. the instructio ...

Posted on Mon, 24 Feb 2020 02:54:01 -0500 by neave

[Python] Python game--Airplane battle

1. Preface Today is the fourth day of the lunar new year. The Spring Festival when we are comfortable lying down at home is over. We are also starting to study and work hard.To add another word, the virus epidemic this Spring Festival has really made people panic. I am here to fuel the country and Wuh ...

Posted on Tue, 28 Jan 2020 22:00:15 -0500 by jthomp7

Learn from GCC the implementation of message extension function of C language ﹣ SM3 hash algorithm

According to the standard documents of SM3 hash algorithm, it is easy to write the C language implementation of its message extension function: #include <stdint.h> void expand_data(uint32_t W[68], uint32_t data[16]) { uint32_t j, P1, X; for(j = 0; j < 16; j++) W[j] = data[j]; for(j = 16; j < 68; j++) { X = W[j-16] ...

Posted on Tue, 07 Jan 2020 01:47:27 -0500 by php1999

Searching for different Python data types

Searching for different Python data types Language: Python 3.7.2 System: Win10 Ver. 10.0.17763 Subject: 004.01 search for different Python data typesRecently, when doing the case of data search and comparison, we found that a large number of data in search and comparison is very slow, too slow to accept. What I want is' immediate 'results, but ...

Posted on Tue, 31 Dec 2019 06:22:42 -0500 by rahuul

ARM assembler for ARM learning

ARM assembly language program structure In ARM (Thumb) assembly language program, the code is organized by program segments. Segments can be divided into code sections and data sections. A assembler program should have at least one code segment. When the program is long, it can be divided into multiple code segments and data s ...

Posted on Mon, 18 Nov 2019 09:55:47 -0500 by CrazeD

8086 assembly basic masm compilation source file

    IDE : Masm for Windows Integrated experimental environment 2015       OS : Windows 10 x64typesetting : Markdown        blog : my.oschina.net/zhichengjiu       gitee : gitee.com/zhichengjiu   demo.asm datas segment ;Segment code datas ends stacks segment ;Stack segment code stacks ends codes segment assume cs:codes,ds:datas ...

Posted on Tue, 15 Oct 2019 10:03:16 -0400 by zxiny_chin

Input, output and interruption

Input, output and interruption Principle of Assembly Language Microcomputer 8086 Topic 1 Problem Description There is an input device whose data port address is FFE0H and the state is provided from the port FFE2H. When its D0 bit is 1, the input data is ready. Try to write a program segment that uses query mode to transmit data. ...

Posted on Sat, 06 Jul 2019 16:59:54 -0400 by jyhm

Hacker Attack and Defense Technology - System Actual Warfare Chapter 2 - Stack Overflow 2

Reference: "The Treasure Book of Hacker Attack and Defense Technology - System Actual Warfare" Assembly Language In the previous section, we have a clear understanding of stack overflow. This section explains stack overflow from the following points: 1) stack buffer overflow 2) Control EIP 3) Exploiting vulnerabilities to gain p ...

Posted on Fri, 21 Jun 2019 13:52:54 -0400 by slough

Introduction to Compiler

A compiler is a program that translates other programs. Traditional compilers translate source code into executable machine code that the computer can understand (some translate source code into another programming language). These compilers are called source-to-source translators or transpilers. LLVM It is a widely used compiler project, which ...

Posted on Tue, 04 Jun 2019 13:47:12 -0400 by Jackdaw