自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

KusanoNEU的博客

No day but today.

  • 博客(7)
  • 收藏
  • 关注

原创 stack overflow[part2]

Target program:// vulnerable.c#include <stdio.h>#include <stdlib.h>int main(int argc, char *argv[]) { char searchstring[100]; if(argc > 1) strcpy(searchstring, ar

2017-06-19 21:46:35 531

原创 stack overflow[part1]

C program:#include <stdio.h>#include <stdlib.h>#include <string.h>int check_authentication(char *password) { char password_buffer[16]; int auth_flag = 0; strcpy(password_buffer, passwor

2017-06-18 12:42:02 558

转载 tail recursion

traditional recursion: perform recursion first, then take the return value of the recursive call and calculate the result. You don’t get the result of your calculation until you have returned from e

2017-06-15 11:30:40 591

原创 gdb and C memory layout

A simple C program:#include <stdlib.h>int main(){ int i; for (i = 0; i < 10; ++i) printf("Hello_world!\n"); return 0;}lyu@ubuntu:~/Desktop/work$ gdb -q ./a.outReading symbols fr

2017-06-10 16:52:05 631

原创 [leetcode]Insert Interval

57. Insert IntervalGiven a set of non-overlapping intervals, insert a new interval into the intervals (merge if necessary).You may assume that the intervals were initially sorted according to their st

2017-06-08 14:12:29 267

原创 [leetcode]Jump Game II

45. Jump Game IIGiven an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximum jump length at that position.Yo

2017-06-07 21:33:40 313

原创 C++ virtual table

Best reference explaining virtual table and dynamic binding 1.

2017-06-01 22:57:53 294

空空如也

空空如也

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

TA关注的人

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