Author Archives: absolujin

.

Linux Kernel 공부 관련 링크

Arm Linux Kernel Hacks

최신 ARM 리눅스 커널 5.x 분석 블로그

리눅스 커널 스터디 그룹

친절한 임베디드 시스템 개발자 되기 강좌

apt-get source

sudo -i

cd /etc/apt/sources.list.d

echo “deb http://archive.ubuntu.com/ubuntu/ raring main restricted universe multiverse” > ia32-libs-raring.list

apt-get update

apt-get install ia32-libs

[독서정리] 공부하는 힘-황농문

제목: 공부하는 힘
저자: 황농문

키워드: 몰임, flow, 신중하게 계획된 연습, 암묵기억, 기억저장, 기억인출, 과제와 실력의 함수관계-마시미니와 카를리(1988)참고, 칙센트미하이(1990), 만족지연능력, 전두엽 발달, 학습된 무기력, 매일 규칙적 30분 운동, 슬로우 싱킹, 이스라엘 성지 마사다, , 청년! 후츠파로 일어서라, 마라토너 하이, 낙천성, Think Hard

연관서적: (제목)-(저자)-(URL)
> 카르마 경영-이나모리 가즈오
> 회복 탄력성-김주환
> 몰입(Flow)-칙센트미하이
> 칼 비테의 자녀교육법-
> 공부의 즐거움-
> 프린키피아의 천재-리처드 웨스트폴
> 창의성의 즐거움-

몰입을 읽은 후로 1년여의 시간이 지난 후로 몰입을 통한 공부하는 방법을 찾고 도움을 받고자 읽었다.

현재 대학원 진학을 앞두고 있기에 창의적 사고와 몰입적 사고가 매우 필요하진 시기이다.

뿐만 아니라 자녀 교육과 관련된 학습법에도 참고 될 만한 내용이 다수 있다.

그리고 반복학습을 통한 암묵기억을 활용한 영어학습법 또한 상당한 도움이 되었다.

이번 책을 계기로 유사한 책과 연관서적을 읽고 실천할 예정이다.

windows batch file execute exe file

전 이렇게 사용합니다.

http://www.reversecore.com/99

 

[ref] http://www.computerhope.com/issues/ch001345.htm

——

@echo off
start Hxd.exe
start InjDll32.exe HxD.exe -i hxdhook.dll

[R][trouble shooting] Error in install.packages : could not find function “vapply”

[tourble]
rstudio server 0.97.320
ubuntu 10.04

messages: Error in install.packages : could not find function “vapply”

———————
[solved]
I tried to install newer version R-base-core 2_25.3-1(base on ubuntu-lucid).
http://cran.rstudio.com/bin/linux/ubuntu/lucid/r-base-core_2.15.3-1lucid1_i386.deb

———————
Finally, self answer.
http://support.rstudio.org/help/discussions/problems/5637-i-can-not-find-function-vapply-or-install-packages-on-rstudio-server

[c] eliminate scanf enter key using MACRO

#define scanf(x) scanf(“%[^\n]%*c”, x)

char ch1, str1[5]

scanf(&ch1);

or

scanf(str1);

참고: http://stackoverflow.com/questions/7166197/why-does-a-space-in-my-scanf-statment-make-a-difference

[ASSEM] IA-32/64 에서 궁금한 것

01 ADD / 03 ADD 간의 차이?

http://ref.x86asm.net/coder.html
http://css.csail.mit.edu/6.858/2010/readings/i386/LOCK.htm
http://appleii.tistory.com/35

찾아본 바로는 ADD r/m32, r32 랑 ADD r32, r/m32 의 차이는 Assert LOCK# Signal Prefix 설정과, operand direction 이 다른 것으로 보입니다.

즉, 01 ADD r/m32, r32 과 03 ADD r32, r/m32 의 경우인데,
opcode 에서 01(0001), 03(0011) 로 2의 1승 자리의 비트는 operand direction을 의미한다고 합니다.
(방향 set(1): r32->r/m32 | unset(0): r/m32 r/m32 가 되는 것으로 생각됩니다.

혹시 제 조사에 오류가 있다면 의견 부탁드립니다..

———
추가: 방향은 메뉴얼에서 가로세로 찾는 방향이 달라지게 되는 것으로 결국은 동일한 내용이 된다.

[ASSEM] gcc stack-boundary, canaries byte

gcc stack-guard 관련

gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2

buf[4] 기준:
stack-boundary value -> canaries byte size
2 -> 4
4 -> 12
8 -> 252
12 -> 4092

———————-
#include

int main(void){
char buf[4]; // cararies byte 발생!!
// char buf[3]; // cararies byte 발생 안함!!
// char *buf1; // cararies byte 발생 안함!!
// int a = 10; // cararies byte 발생 안함!!

return 0;
}
———————-
disassem 하면
mov %gs:0x14,%eax
mov %eax,0xffc(%esp)

(stack-boundary:12 기준)
이런식으로 canaries byte가 추가된다.

hexdump

http://terriblesyntax.blogspot.kr/2011/11/hexdump.html

ubuntu bootloader 를 통한 root 계정 접속 without CD(시스템 복구용)

http://www.faqforge.com/linux/reset-root-password-ubuntu-linux-without-cd/