본문 바로가기

cdor1's lab

검색하기
cdor1's lab
프로필사진 Cdor1

  • Lab (221)
    • Security (202)
      • Pwnable (146)
      • Reversing (24)
      • Web (27)
      • Network (1)
      • Programming (4)
    • Life (19)
      • IT Issue (0)
      • Daily Life (18)
      • Math (1)
    • Profile (0)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/07   »
일 월 화 수 목 금 토
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
Tags
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

cdor1's lab

pwnable.tw applestore

보호되어 있는 글입니다.

Security/Pwnable 2017. 8. 1. 22:17
C++ Day4

참조자 심화버전 call by reference에서 포인터 대신 참조자로 가능, 하지만 c와 달리 함수 콜하는 곳에서 함수의 리턴값을 짐작하기 힘듬.(함수 초기선언은 무조건 알아야함, 참조자의 문제점)int& RefRetFuncOne(int &ref){ref++;return ref;}함수도 이런식으로 선언 가능 malloc, free대신 new delete사용(분석요망)new delete는 내부에서 malloc과 free를 부른다고 알고 있는데 추가적으로 더 공부해 봐야겠다.처리방식이 좀 다름. 객체 사용시에는 new delete사용. c++에서 c헤더 추가시 .h를 제외하고 c를 앞에 붙임ex) stdio.h -> cstdio그냥 .h붙여줘도 되지만 함수 오버로딩때문에 c++에 특화된 헤더 사용하는 것..

Security/Programming 2017. 7. 28. 16:24
pwnable.tw seethefile

보호되어 있는 글입니다.

Security/Pwnable 2017. 7. 21. 02:48
Prev 1 ··· 9 10 11 12 13 14 15 ··· 74 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바