自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 资源 (7)
  • 收藏
  • 关注

原创 stressapptest

了解stressapptest1.概述  stressapptest - stress test application for simulating high load situations.stressapptest (unix name for Stressful Application Test) is a program that tries to maximize randomized traffic to memory from processor and I/O, wi.

2020-11-30 10:23:22 2320

原创 Linux DRM(三) -- DRM KMS/ Debug

分析drm 代码框架1.重要函数drm_core_init:这个函数是通过module(drm_core_init)明确在系统启动时进行调用,指定设备的major号,linux中默认为226。创建并初始化一个idr机制,这个机制其实原理上就是一个哈希表,由内核系统维护,能够快速的查找。调用register_chrdev(DRM_MAJOR, “drm”, &drm_stub_fops)注册一个字符设备,名称为drm,指定major号为226(可以cat /proc/devices就.

2020-11-23 07:11:16 5637

原创 Linux DRM(二) --Xorg/DRM

了解drm 基本概念1.Direct Rendering Manager  The Direct Rendering Manager (DRM) is a subsystem of the Linux kernel responsible for interfacing with GPUs of modern video cards. DRM exposes an API that user-space programs can use to send commands and data to th.

2020-11-22 22:12:22 4385 1

原创 Linux DRM(六) -- xrandr

使用xrandr添加分辨率。1.Linux下查看本机显示器分辨率:uos@uos-PC:~$ xrandrScreen 0: minimum 320 x 200, current 1600 x 1200, maximum 16384 x 16384HDMI-0 disconnected (normal left inverted right x axis y axis)DVI-0 disconnected (normal left inverted right x axis y axis)V.

2020-11-19 13:22:04 2744

原创 linux serial framework (3) - serial example

1.The following C program reads lines (i.e. canonical mode) from a serial terminal, and is configured to detect a Mark (or 1) as the parity bit with an 8-bit character frame.#define SERIALTERMINAL "/dev/ttyS0"#include <errno.h>#include <fc

2020-11-12 20:41:58 484

原创 Trinity 概述(一)

了解linux kernel fuzzing test - trinityTrinity, a system call fuzzing tester for the Linux kernel. Fuzzing is a security technique which feeds random arguments into functions to see what breaks.Trinity is developed using the latest glibc/kernel, which.

2020-11-11 11:16:58 1084

原创 linux kernel fuzzing test - 概述

了解Fuzzing1.Introduction  Fuzz本意是“羽毛、细小的毛发、使模糊、变得模糊”,后来用在软件测试领域,中文一般指“模糊测试”,英文有的叫“Fuzzing”,有的叫“Fuzz Testing”。本文用fuzzing表示模糊测试。  Fuzzing技术可以追溯到1950年,当时计算机的数据主要保存在打孔卡片上,计算机程序读取这些卡片的数据进行计算和输出。如果碰到一些垃圾卡片或一些废弃不适配的卡片,对应的计算机程序就可能产生错误和异常甚至崩溃,这样,Bug就产生了。所以,Fuzz.

2020-11-11 10:28:37 671

原创 linux IRQ Management (十一) - 龙芯中断

了解loongson irq1.MIPS CPU总共定义了5种异常。分别为:冷重启、热重启异常TBL充填异常XTBL充填异常cache错误异常异常当发生上面异常后,CPU会跳转到上面所述地址开始执行异常处理程序。对于中断,CPU会跳转到其他类型的异常位置开始执行异常处理程序。当MIPS CPU发生中断后,CPU的状态变化到如下状态,总结如下列表:EPC寄存器保存了发生中断是程序执行指令的地址CP0中STATUS寄存器 EXL置位为1,表示正在异常状态,.

2020-11-02 13:26:55 733

原创 linux IRQ Management (十) - 龙芯loongson 中断概述

了解loongson 中断机制1.MIPS 中断类型  在mips体系结构中,中断、陷阱、系统调用和任何可以中断程序正常执行的情况都称作异常。mips的异常是精确异常,在发生任何异常时都指向一条指令,所有这条异常指令之前的指令都执行完成了,所有这条指令之后的指令都还没开始执行。1.1.异常种类1.2.异常相关寄存器  MIPS exceptions are handled by a peripheral device to the CPU called coprocessor 0 (cp0.

2020-11-02 13:19:56 840

Device Tree debugging - part 3

linux device tree debugger 宝典卷三,解决Device Tree Issues。

2019-02-15

ORANGE’S:一个操作系统的实现

学习如何编写自己的操作系统,对于初学者很有帮助,值得学习。

2019-02-15

Device Tree debugging - part 2

linux device tree debugger 宝典卷二,解决Device Tree Issues。

2019-02-15

Device Tree debugging - part 1

学习linux device tree宝典,解决Device Tree Issues,有助于深刻认识DT.

2019-02-15

Practical_Binary_Analysis

ELF Format,Binary Analysis Fundamentals,Basic Binary Analysis in Linux,Disassembly and Binary Analysis Fundamentals

2019-02-15

Operating_Systems_From_0_to_1

linux ELF architecture,gdb debugger elf,x86 assembly language

2019-02-15

调试PLT/GOT代码

该代码包用于学习动态链接实现流程,便于进行调试PLT/GOT

2019-02-13

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除