上一页 1 ··· 6 7 8 9 10 11 12 13 下一页
摘要: RAM https://www.cnblogs.com/ijpq/p/16222237.html 阅读全文
posted @ 2022-05-04 20:06 ijpq 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 地址宽度2~24,地址宽度(Address Bit Width)是24位,则能够表示的地址数量是$ 2 ^ {24} = 16,777,216$,每个数值最多占用32位(Data Bit Width)。 RAM支持修改数值,通过poke tool实现 内存中的值直接显示在元器件上面,地址是在每一行的 阅读全文
posted @ 2022-05-04 20:06 ijpq 阅读(86) 评论(0) 推荐(0) 编辑
摘要: calling convention Entry sequence (the function prologue) a few instructions at the beginning of a function, which prepare the stack and registers for 阅读全文
posted @ 2022-04-23 23:13 ijpq 阅读(791) 评论(0) 推荐(0) 编辑
摘要: 例子 例如需要编译cu时,需要-lcudart,编译命令中要加入 -L/data/cuda/cuda-10.2/cuda/lib64 -lcudart 编译成功: 如果去掉-L/data/cuda/cuda-10.2/cuda/lib64 这是因为没有在默认的动态链接库目录中找到cudart.so 阅读全文
posted @ 2022-04-16 11:55 ijpq 阅读(93) 评论(0) 推荐(0) 编辑
摘要: # profiler ### nvprof 最早期的profiler,只提供cli ### nvvp 进化版本的nvprof,提供了gui ### ncu 写这个记录的时候,cuda已经不再支持nvprof,nvvp也变得异常难用(因为很多功能,比如metrics,去掉了)。现在推荐用nsight 阅读全文
posted @ 2022-04-12 20:34 ijpq 阅读(582) 评论(0) 推荐(0) 编辑
摘要: 15-213课程的实验目录 1.data lab 1.bomb lab 2.c review 3.rop in attack lab this page is catalog of book&pdf&ppt&video and any other learning perception notes 阅读全文
posted @ 2022-02-20 22:28 ijpq 阅读(44) 评论(0) 推荐(0) 编辑
摘要: we could dynamic symbol printf with libc.so instead of include<stdio.h> in source file. a.c int main(){ printf("hi! .so success!\n"); return 0;} gcc a 阅读全文
posted @ 2022-02-20 22:28 ijpq 阅读(35) 评论(0) 推荐(0) 编辑
摘要: link 阅读全文
posted @ 2022-02-20 22:28 ijpq 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 0x01 寻址基本理解 一般常见对内存的理解是将他看成是一个数组. 数组元素肯定有个大小, 数组的元素还需要有个序号. 这个数组的序号就是内存的地址, 而数组元素的大小是内存寻址的方式,最为常见的是按字节寻址,即每个数组元素(单元)可以存储一个字节大小的内容. cmu15213的例子 我们将内存地址 阅读全文
posted @ 2022-02-20 22:26 ijpq 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 变量名和等号之间不能有空格 推荐给所有变量加上花括号,这是个好的编程习惯 字符串可以用单引号,也可以用双引号,也可以不用引号。 单引号里的任何字符都会原样输出,单引号字符串中的变量是无效的 单引号字串中不能出现单独一个的单引号(对单引号使用转义符后也不行),但可成对出现,作为字符串拼接使用。 双引号 阅读全文
posted @ 2022-02-20 22:25 ijpq 阅读(17) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 下一页