• C++的new&delete

    C++的newdelete new的过程 new的过程: 先分配memory,再调用ctor 我们常用的创建对象的方法有两种 Complex c(1,2); //栈Complex *pc = new Complex(1,2); //堆 第一种创建出来的对象将保存在栈上,第二种则在堆上,必须手动回收内存空间(通过delete) 为了解释new的...

    2020-02-10 16:03:06 内存管理PSC++<常用call对象地址handler指定

  • PWN之Canary学习

    PWN之Canary学习 Canary 参考链接:https://ctf-wiki.github.io/ctf-wiki/pwn/linux/mitigation/canary-zh/ 0x1 简介: 用于防止栈溢出被利用的一种方法,原理是在栈的ebp下面放一个随机数,在函数返回之前会检查这个数有没有被修改,就可以检测是否发生栈溢出了。 0x2...

    2020-02-10 16:02:49 LinuxwordIEBugPSHTTPS<HTML.htm修改

  • stl_list复习

    stl_list复习 #include iostream #include list #include algorithm using namespace std; //底层结构是双向链表 struct Node{ int a; char c; }; struct Node1{ //重点中的重点 int a; char c; Node1(int d,char e) { a=d; c=e; } bool operator==(const Node1 i) { i...

    2020-02-10 16:02:36 2011年iOS<WAPname函数区别删除POST插入

  • 使用 linux kernel +busybox 定制linux系统

    使用 linux kernel +busybox 定制linux系统 目的: 了解linux的启动过程 主要内容: 1.grub 是启动程序的bootloader 2.linux-kernel 是linux的开源内核 3.busybox 是linux的工具集合 启动顺序: grub- bzimage initrd init chroot sbin/init (从内存镜像转换成rootfs)/...

    2020-02-10 16:02:24 文件定义Linuxtxtecho精简驱动虚拟机IE磁盘

  • stl_vector复习

    stl_vector复习 #include iostream #include vector #include algorithm //for_each #include ctime using namespace std; void STRConstructor() //初始化,输入 { vectorint vec(5,12); //cout vec endl; 错误 vectorint vec1(5); for(int i=0;i5;i++) cout vec1[i]...

    2020-02-10 16:02:06 文件iOStim<WAP常用对象name计算函数

  • wordpress 配置坑详解

    wordpress 配置坑详解 首先 经过我测试,php74模块没有支持apache的.所以升级到php74 之后,php无法使用. 最基本的函数phpinfo 调用不出来,没有相关的模块. 安装mariadb 10.4 之后发现,mariadb 这个版本好像不支持密码(反正我是没搞定,一天) .改配置什么的我都试了,仍然...

    2020-02-10 16:02:00 配置虚拟主机wordpress文件服务器mysqlphpword新网安全策略网站目录

  • stl_string复习

    stl_string复习 #include iostream #include string #include algorithm using namespace std; void definition() //定义 { string str(5,'a'); cout str endl; string str1("abcdefghijklmn"); cout str1 endl; string str2("123456789",3); cout str2 endl; string s...

    2020-02-10 16:01:35 定义空间大小2345iOS<WAP修改指定name大小

  • SpringBoot 集成Log4j、集成AOP

    SpringBoot 集成Log4j、集成AOP 集成Log4j (1)在pom.xml中添加依赖 !-- 去掉springboot默认的日志 -- dependency groupId org.springframework.boot / groupId artifactId spring-boot-starter / artifactId exclusions exclusion groupId org.springframework.boot...

    2020-02-09 16:05:43 文件ASP定义YYIEServletBugPSTomcatHTTPS

  • 异常输出

    异常输出 更新记录 【1】2020.02.09-11:14 1.完善了文章 正文 在学习异常处理这一章时,我写了一段代码用来模拟异常的发生: public class exception { public static void main(String[] args) { int a = 3, b = 0; System.out.println(start); System.out.println(a/...

    2020-02-09 16:03:58 BugAV异常指定输出流sys代码解决问题

  • 抛出异常

    抛出异常 更新记录 【1】2020.02.09-18:15 1.完善内容 正文 我们去学习Java的异常处理的时候,肯定写过抛出异常的方法 但是如果你将代码改成这个样子: public class exception { public static void test() throws ClassCastException{ int[] arr = new int[-3]; } pu...

    2020-02-09 16:03:49 定义AVAE异常sys代码实例实现删除方法