To clarify the principle, we first introduce the C-function calling mechanism, then the assembly call C-function.
1. C Function Call Mechanism
For functions in an assembly, it uses a stack to pass parameters and store temporary variables.The frame pointer EBP is used to locate parameters and temporary variables, while the stack poi ...
Posted on Sat, 14 Mar 2020 09:36:01 -0700 by mimilaw123
Download the python version to be upgraded, such as:
Install required environment components
yum -y install readline-devel sqlite-devel bzip2-devel.i686 openssl-devel.i686 gdbm-devel.i686 libdbi-devel.i686 ncurses-libs，zlib-devel.i686 libffi-devel
To avoid conflicts with the origi ...
Posted on Thu, 02 Jan 2020 14:37:55 -0800 by andreasb
I. modify the configuration file, and the settings will not be lost after restart
[Red Hat Linux/CentOS]
Use ifconfig to view the network port used:
[root@localhost /]# ifconfig
Modify the corresponding network interface profile:
[root@localhost /]# vi /etc/sysconfig/network-scripts/ifcfg-ens192
Posted on Wed, 11 Dec 2019 11:47:41 -0800 by digitalbart2k
c + + is a hybrid programming language, which supports object-oriented and process-oriented, and mainly object-oriented. Among the three main characteristics of c + +: inheritance, encapsulation and polymorphism, polymorphism is the most difficult to understand. This paper will interpret the polymorphism of c + + from the perspectiv ...
Posted on Tue, 16 Jul 2019 12:40:13 -0700 by homerjay
Centos 6.5 Installation and Configuration of NTP Time Server
NTP Server Configuration
1. View the location of time files in most time zones and national cities in Asia
ls -F /usr/share/zoneinfo/Asia
2. View the time of the current time zone
[root@localhost ~]# zdump Hongkong
Hongkong Sat Sep 12 08:33:43 2015 HKT
3. Setti ...
Posted on Sun, 23 Jun 2019 14:28:36 -0700 by ASDen
GDB is a powerful command-line debugging tool based on UNIX/LINUX operating system, which is released by GNU open source organization.
II. Basic Usage
1. How to get into debugging?
(1) To debug using gdb, we must first add the - g option when the source code generates the binary program to generate debuggin ...
Posted on Tue, 29 Jan 2019 15:36:14 -0800 by dbdbdb
The tr command is used to replace characters in text files in the form of "tr [original character] [target character].
In many cases, we want to quickly replace some words in the text, or replace the whole text content.
In other words, if we do manual replacement, it will inevitably take too much work. Especial ...
Posted on Wed, 12 Dec 2018 16:36:05 -0800 by Monadoxin