随笔分类 -  汇编学习笔记

摘要:最近的一场ctf比赛,让我去学习了这个 首先附上我查看的一个很重要的资料 打开ida查看代码 发现主要判断函数再于这个check_login这个函数,然后点进去看看 loc_94E: mov [rbp+var_108], 1 mov [rbp+var_107], 1 mov [rbp+var_106 阅读全文
posted @ 2020-11-07 15:26 PYozo_free 阅读(322) 评论(0) 推荐(0)
摘要:invlpg汇编指令用来无效指定线性地址的单个TLB表项无效 阅读全文
posted @ 2020-10-26 19:43 PYozo_free 阅读(177) 评论(0) 推荐(0)
摘要:参考资料:http://www.yjxsoft.com/forum.php?mod=viewthread&tid=6164 1 SSE 2 CVTSI2SS – 把一个64位的有符号整型转换为一个浮点值,并把它插入到一个128位的参数中。内部指令:_mm_cvtsi64_ss 3 CVTSS2SI 阅读全文
posted @ 2020-10-20 11:15 PYozo_free 阅读(4486) 评论(0) 推荐(0)
摘要:本来是不想写的,但几个月过后,再次翻阅这本书的习题时,发现都是非常基础的东西,很适合来练手 Chapter2: 2.61写一个C表达式,在下列描述的条件下产生1,而在其他情况下得到0。假设x是int类型。A.x的任何位都等于1。B.x的任何位都等于0。C.x的最高有效字节中的位都等于1。D.x的最低 阅读全文
posted @ 2020-09-14 22:26 PYozo_free 阅读(1284) 评论(0) 推荐(0)
摘要:最近总是遇到这个指令,在百度上查也没看明白,但我先把百度的贴下来 后来我打开od调试,使用了一下这个指令发现,eax,ecx,ebx,edx都会变,便推测这是获取cpu的信息指令,不过由于逆向是一个很严谨又需要大胆的推测,所以我只能猜出一个ecx可能存储的就是处理器是多少位的 执行前: 执行后 阅读全文
posted @ 2020-09-11 23:40 PYozo_free 阅读(214) 评论(0) 推荐(0)
摘要:You are going to be given a word. Your job is to return the middle character of the word. If the word's length is odd, return the middle character. If 阅读全文
posted @ 2020-09-11 16:13 PYozo_free 阅读(311) 评论(0) 推荐(0)
摘要:In this Kata, you will be given a string that may have mixed uppercase and lowercase letters and your task is to convert that string to either lowerca 阅读全文
posted @ 2020-09-08 18:03 PYozo_free 阅读(268) 评论(0) 推荐(0)
摘要:Description: My grandfather always predicted how old people would get, and right before he passed away he revealed his secret! In honor of my grandfat 阅读全文
posted @ 2020-09-08 17:09 PYozo_free 阅读(242) 评论(0) 推荐(0)
摘要:Your task is to split the chocolate bar of given dimension n x m into small squares. Each square is of size 1x1 and unbreakable. Implement a function 阅读全文
posted @ 2020-09-08 13:21 PYozo_free 阅读(149) 评论(0) 推荐(0)
摘要:Description: Deoxyribonucleic acid (DNA) is a chemical found in the nucleus of cells and carries the "instructions" for the development and functionin 阅读全文
posted @ 2020-09-07 16:49 PYozo_free 阅读(211) 评论(0) 推荐(0)
摘要:相关教程文件链接:http://www.kipirvine.com/asm/ OF:溢出标志位 (与0做或运算,清0) UP:方向标志位 EI:终端标志位 SF:符号标志位 ZF:零标志位 AF:辅助进位标志位 PF:奇偶标志位 CY:进位标志位 (stc进位置1,clc进位清0) 寄存器: CS: 阅读全文
posted @ 2019-12-03 22:07 PYozo_free 阅读(202) 评论(0) 推荐(0)