Windows逆向 -- 逻辑运算与位移

简介: Windows逆向 -- 逻辑运算与位移

Windows逆向 -- 逻辑运算与位移


一、逻辑运算


and:有0全0


 or:有1全1


not:取反


xor:相同为0


小知识:1、xor常用于置0操作,和自己异或永远是0


             2、test eax,eax,判断是否为0


0a2653c851af460fa595bd959398a8f1.png


二、位移操作


1、逻辑左移和右移


逻辑左移(SHL):最低位补0


逻辑右移(SHR):最高位补0


2、算数左移和右移


算数左移(SAL):最低位补0,等价于逻辑左移


算数右移(SAR):最高位填充符号位


0eacb84100b54626af849e6b562bf92a.png


禁止非法,后果自负


目录
相关文章
|
5月前
|
Windows
Windows逆向 -- 逻辑运算与位移
Windows逆向 -- 逻辑运算与位移
24 0
|
API Windows
不同WINDOWS平台下磁盘逻辑扇区的直接读写
<span style="font-family: simsun; font-size: 14px; line-height: 25.1875px;">不同WINDOWS平台下磁盘逻辑扇区的直接读写</span><br style="font-family: simsun; font-size: 14px; line-height: 25.1875px;"><span style="font-
1614 0
|
文件存储 Windows 分布式数据库
c++windows内核编程笔记day12 硬盘逻辑分区管理、文件管理、内存管理
windows系统磁盘文件存储: 分区格式:NTFS / FAT32 GetSystemDirectory();//获取系统路径 GetWindowsDirectory();//获取windows路径 GetCurrentDirector...
895 0
|
并行计算 Java Windows
重新想象 Windows 8 Store Apps (43) - 多线程之任务: Task 基础, 多任务并行执行, 并行运算(Parallel)
原文:重新想象 Windows 8 Store Apps (43) - 多线程之任务: Task 基础, 多任务并行执行, 并行运算(Parallel) [源码下载] 重新想象 Windows 8 Store Apps (43) - 多线程之任务: Task 基础, 多任务并行执行, 并行运算(P...
790 0
|
Windows 编解码
windows程序设计(五)---映射模式(转换设备坐标和逻辑坐标)
在窗口指定位置显示图形或文字,我们使用的坐标单位是象素,称之为设备坐标。看下面语句: pDC-&gt;Rectangle(CRect(0,0,200,200));   画一个高和宽均为200个象素的方块,因为采用的是默认的MM_TEXT映射模式,所以在设备环境不一样时,画的方块大小也不一样,在1024*768的显示器上看到的方块会比640*480的显示器上的小(在不同分辨率下的屏幕象素,在
|
Linux Windows
windows下恢复删除的逻辑分区
以前E盘分出一部分做过linux的分区,现在E盘空间不够用了,想增加空间,就到磁盘管理中,将之前的linux的逻辑分区删除了,删除后竟然发现整个E盘都没了,再回到我的电脑,E盘也找不到了,我E盘的东西难道都就丢了吗?      赶快上网查了查,找到了WinPM 这个工具,非常不错。
780 0
|
1月前
|
网络安全 虚拟化 Windows
windows 11安装openSSH server 遇到的"kex_exchange_identification: read: Connection reset"问题
windows 11安装openSSH server 遇到的"kex_exchange_identification: read: Connection reset"问题
|
2月前
|
PHP Windows
【Azure App Service for Windows】 PHP应用出现500 : The page cannot be displayed because an internal server error has occurred. 错误
【Azure App Service for Windows】 PHP应用出现500 : The page cannot be displayed because an internal server error has occurred. 错误
|
2月前
|
开发框架 .NET API
Windows Server 2022 安装IIS 报错 访问临时文件夹 C:\WINDOWS\TEMP\3C 读取/写入权限 错误: 0x80070005
Windows Server 2022 安装IIS 报错 访问临时文件夹 C:\WINDOWS\TEMP\3C 读取/写入权限 错误: 0x80070005
89 0
下一篇
无影云桌面