logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

linux c arp 发送与接收 arp包 (实际调试通过的代码)

//1.先发包//0000 6c 62 6d 3e 8d 60 11 22 33 44 55 66 08 06 00 01lbm>.`." 3DUf....//0010 08 00 06 04 00 01 11 22 33 44 55 66 c0 a8 00 01......." 3DUf....//0020 6c 62 6d 3e 8d 60 c0 a8 00 69 00 00 00 00

AndroidManifest.xml 乱码解密

查看AndroidManifest.xml 文件是乱码 很蛋疼!!!解决方法:当然首先得安装java的环境然后 进入 cmd把AXMLPrinter2.jar文件放到要解密的xml文件同级目录下然后java -jar AXMLPrinter2.jar AndroidManifest.xml > AndroidManifest2.xml...

crc8表计算

unsigned char cal_table_high_first(unsigned char value){    unsigned char i, crc;    crc = value;    /* 数据往左移了8位,需要计算8次 */    for (i=8; i>0; --i)    {         if (crc & 0x80)  /* 判断最

虚拟机ubuntu 使用adb 编译调试系统app Settings.apk

虚拟机ubuntu 使用adbVMware® Workstation 12 Player12.1.1 build-3770994No LSB modules are available.Distributor ID: UbuntuDescription: Ubuntu 12.04.5 LTSRelease: 12.04Codename: prec

ami bios源代码开启 调试日志 使用uart0调试 bios源代码

修改文件./AmiCRBPkg/CRB/Crb.sdl文件TOKENName = "DEBUG_MODE"# Value = "0"Value = "1"TokenType = BooleanTargetMAK = YesEnd

android 日志系统 xxx output lines suppressed due to ratelimiting

前面玩android4.4 很爽 没有啥问题最近 android 9,我靠,改动太他妈大了init原来是c写的,一眼看的明白现在全部用c++改写,日志还限制输出 太恶心了说是为了防止日志攻击对于调试人员来说 没有了日志 等于瞎子太不爽了!!!解决方案:撸代码,最终改内核代码:static ssize_t devkmsg_write(struct kiocb *i...

android 9 设置默认为 mtp模式

UsbDeviceManager.java/** Copyright (C) 2011 The Android Open Source Project** Licensed under the Apache License, Version 2.0 (the "License");* you may not use this file except in compliance with the L

undefined reference to ‘android::CallStack::CallStack

#include <utils/CallStack.h>#include<utils/Log.h>android::CallStack stack;stack.update();stack.dump(1);//输出到printfstack.log("dsfdsfds");//输出到logcat: undefined reference to 'andro...

android usb摄像头 抓取一张图片 yuv格式 yuyv(yuy2)

//#加了点注释//#Rockie Cheng#include <stdio.h>#include <stdlib.h>#include <string.h>#include <assert.h>#include <getopt.h>#include <fcntl.h>#include <unistd.h>#inc

#android#p2p#网络协议
android 电池温度过高引起的关机之流程

1.BatteryService.javaprivate void shutdownIfOverTempLocked() {// shut down gracefully if temperature is too high (> 68.0C by default)// wait until the system has booted before attempting to display

    共 14 条
  • 1
  • 2
  • 请选择