第一次写x86高级过程,调试了好久才处理好。 在vs2019中,使用extern的方式组建多模块程序,enter和leave指令是多余的。汇编器自动生成了堆栈帧:自动保存并设置了ebp的值,还会帮你生成leave指令。最后,汇编器生成的ret指令是不带参数的。 和单模块程序不同,在main过程中,p ...
分类:
其他好文 时间:
2021-04-15 12:29:35
阅读次数:
0
问题: windows系统下使用electron-builder打包的exe默认安装到Program Files文件夹下,如果后台代码里有对文件进行改动时,会报错没有权限。 解决: 打包时修改requestedExecutionLevel来修改exe权限 找到electron-builder的配置文 ...
分类:
其他好文 时间:
2021-04-15 12:14:40
阅读次数:
0
下载安装包:wget https://cdn.mysql.com//Downloads/MySQL-5.7/mysql-5.7.28-linux-glibc2.12-x86_64.tar.gz(1)首先卸载mariadb,不然后面会和安装mysql需要的库冲突: [root@localhost ~] ...
分类:
数据库 时间:
2021-04-15 12:11:33
阅读次数:
0
在做STM32f405 移植过程中,编译出现了cannot open source input file "core_cmInstr.h": No such file or directory的错误,显然我们需要将core_cmInstr.h添加keil include path中,具体如下图: 查 ...
分类:
其他好文 时间:
2021-04-15 12:04:39
阅读次数:
0
SAP数据库解密恢复 服务器中毒解密.235-747-02D SQL数据库中病毒解密 今天接到一个服务器被勒索病毒加密, 文件被添加.数字字母串扩展名,添加.235-747-02D 扩展名 !!! ALL YOUR FILES ARE ENCRYPTED !!!.TXT文件内容 !!! ALL YO ...
分类:
数据库 时间:
2021-04-14 12:07:57
阅读次数:
0
#!/usr/bin/env python3#!-*- coding:UTF-8 -*- import osclass GetPath():# 获取所有目录 @staticmethod def get_dir(path): print("打印所有目录:") for root, dirs, files ...
分类:
编程语言 时间:
2021-04-14 11:51:07
阅读次数:
0
部署altermanager组件 [root@zabbix ~]# tar -xf alertmanager-0.21.0.linux-amd64.tar.gz -C /opt/monitor/[root@zabbix ~]# cd /opt/monitor/[root@zabbix monitor ...
分类:
其他好文 时间:
2021-04-13 11:58:34
阅读次数:
0
考虑到直接讲实现一个类Task库思维有点跳跃,所以本节主要讲解Async/Await的本质作用(解决了什么问题),以及Async/Await的工作原理。实现一个类Task的库则放在后面讲。首先回顾一下上篇博客的场景。 class Program { public static string GetM ...
打开vi /etc/selinux/config, 设置 SELINUX=disabled yum grouplist yum groupinstall "GNOME Desktop" "Graphical Administration Tools" 安装epel库 yum -y install e ...
source program: list=[]while True: print("how many number input:") try: num=int(input()) for i in range(num): a=int(input("input"+str((i+1))+"integer: ...
分类:
编程语言 时间:
2021-04-12 11:41:22
阅读次数:
0