am009
am009
我虽然是初学者, 没真正接触过嵌入式开发, 但也想学习如何移植rcore-tutorial到k210板子上. 搜集了一个下午的相关资料, 想分享一下, 希望能帮到水平相近的人. 希望不会有错误的地方误导了别人. k210实现了 RV64IMAFDC (RV64GC)这些拓展, 达到G对应的general purpose的目标成为标准通用的指令集架构, 原本还有 S U表示支持supervisor模式和user模式, 但由于RISC-V的特权指令集的1.11版本在2019年8月份才正式作为发布定下来, k210实现的只是1.9.1版本这个草案, 造成了尴尬的局面. 因为有不少地方不兼容, 有些指令都不同. 许多地方直接把它当作不支持S和U并且没有分页能力的芯片来用, 如Linux方面在k210上的相关移植的实现就是运行在machine模式, nommu(不使用分页). 但是实际上K210还是支持Sv39分页模式和Supervisor模式的. RISC-V中通过misa寄存器表示实现了哪些拓展. K210的misa寄存器=0x800000000014112d, 这里面S对应的比特位确实是为1的. 如何检测分页模式的支持? 查找特权指令集的手册发现是, 当向satp寄存器的高位mod字段写入值的时候,...
I made a Docker image so that anyone can use JN-SAF in a one-command fashion, without much configuration. See https://github.com/am009/Argus-SAF and https://hub.docker.com/r/warrenwjk/jnsaf If anyone has difficulty in using my docker...
I think this tool is based on p-code, so it's architecture insensitive. I guess it should directly supper MIPS or X86 object files, because Ghidra lifts binary code to p-code,...
看不懂还行
> 跟是否共用set无关,除非添加ip时先判断是否存在,原先存在的ip也可能是mosdns在先前查询时添加的。其实只要mosdns忽略添加失败的情况就行,就算ip没加set成功,也正常返回解析结果给客户端。 对,我也遇到了这个问题,要不直接(改一下代码)nft set模块那边直接忽略file exists报错吧,发现是file exists报错就直接当成功
我改了一下,可以在release里下载我的修改版:https://github.com/am009/mosdns OpenWRT ipk:https://github.com/am009/luci-app-mosdns/actions/runs/8338725563
Hi, @vrthra. I discovered that our fuzzer needs to build some benchmarks twice: one with `afl-clang-fast`, and one with our own compiler wrapper. In our integration Python code, we changed...
> Hi, @vrthra. > > I discovered that our fuzzer needs to build some benchmarks twice: one with `afl-clang-fast`, and one with our own compiler wrapper. In our integration Python...
I have been investigating this issue and reading related codes these days. The `MutatedTransform` is introduced in [this commit](https://github.com/AFLplusplus/LibAFL/commit/28786c943a20811a833ed4afb7978aa970df97bf) along with the Grimoire. [Grimoire](https://github.com/RUB-SysSec/grimoire) is a new fuzzing technique that...
I'm looking into this. I found that `std::io::Error::last_os_error().raw_os_error().unwrap()` is of type [`std::io::RawOsError`](https://doc.rust-lang.org/std/io/type.RawOsError.html), which is an alias to i32 type, and there doesn't seem to be a convenient way to convert...