Fiji's Islands内検索 / 「buffer overflow」で検索した結果

検索 :
  • buffer overflow
    ...mped) buffer underflow env EF_PROTECT_BELOW=1 LD_PRELOAD=/usr/lib/libefence.so ./mem EF_PROTECT_FREE 1 free() 後のアクセス不許可 EF_ALLOW_MALLOC_0 0 malloc(0) の不許可 EF_PROTECT_BELOW 0 ヒープの上へのアクセス不許可 EF_PROTECT_BELOW 1 ヒープの下へのアクセス不許可
  • メニュー
    ...core dump buffer overflow free忘れ speed計測 memory copy alignment endian variable argument lists socket witticismitojun temp リンク @wiki @wikiご利用ガイド ここを編集
  • speed計測
    目的 gprofを使ってプログラムのspeed計測を行う コード #include stdio.h #include string.h #define COUNT (10*1024) char Buffer[5*COUNT+1]; char *Data="hello"; int slowFunc() { int i; for (i = 0; i COUNT; i++) { strcat(Buffer, Data); } return (0); } int fastFunc() { int i; char *ptr; for (i = 0, ptr = Buffer; i COUNT; i++) { strncpy(ptr, Data, 5); ptr+=5; }...
  • xserver
    ... Framebuffer UI (fbui) http //home.comcast.net/~fbui/ DirectFB http //www.directfb.org/ eGuiEval http //sourceforge.net/projects/eguieval/ GtkFb http //snap.shot.cx/ZWiki/GtkFb Nano-X http //www.microwindows.org/ Note http //ja.wikipedia.org/wiki/X_Window_System http //linuxmad.hp.infoseek.co.jp/ELGUIQRef.html progress bar http //tiki...
  • McBSP
    ...tichannel-buffered-serial-port.html
  • syslog
    ...hared mem buffer (read it using logread)
  • トップページ
    ...rect framebuffer cursor http //code.google.com/p/fbcur/ zdomain project http //sites.google.com/site/zdomainproject/ Other Projects vmkernelnewbies http //groups.google.com/group/vmkernelnewbies My workspace http //freehg.org/u/fuji/ My dialy http //d.hatena.ne.jp/dai5891/
  • webcamera
    overview I bought "Groovy CAMI30 NightVision2" in Akihabara. This webcamera uses OmmVision OV7660 CMOS sensor and sonix SN9C201 video processer. This camera working web camera on ubuntu 7.04 8.04 I tried this solution at "Sat Oct 11 13 57 07 JST 2008" 1. Build microdia driver sudo apt-get install git-core git clone git //repo.or.cz/microdia.git make sudo mod...
  • proc
    ...k, char * buffer, int whole) diskstats fs/proc/proc_misc.c void __init proc_misc_init(void) proc_create("diskstats", 0, NULL, proc_diskstats_operations); static const struct file_operations proc_diskstats_operations = { .open = diskstats_open, .read = seq_read, .llseek = seq_lseek, .release = seq_release, }; static int disksta...
  • get version
    How to get version of ubuntu cat /etc/lsb-release
  • git
    Install sudo apt-get install git git-core libglib2.0-dev libgtk2.0-dev Setting sudo update-alternatives --config git Password `git を提供する 2 個の alternatives があります。 選択肢 alternative ----------------------------------------------- + 1 /usr/bin/git.transition * 2 /usr/bin/git-scm デフォルト[*] のままにするには Enter、さもなければ選択肢の番号のキーを押してください 2 How to use sudo gi...
  • xmms2
    Overview XMMS2 is music player. Please refer to http //wiki.xmms2.xmms.se/wiki/Main_Page By the way, How to work? # install sudo apt-get install xmms2 gxmms2 # run # xmms2 implement software using client server model. # so it needs server xmms2d gxmms2 client with xmms2 Esperanza (QT4) gxmms2 (GTK) Abraca (GTK) Blastwave (GTK) eq Euphoria juxtapos...
  • usbserial
    How to create /dev/ttyUSB0 on Ubuntu 7.04 and 7.10 modprove usbserial sudo apt-get remove brltty
  • free忘れ
    目的 mtraceを使ってmemory leakを検出しfree忘れを見つける Ulrich DrepperによってGNU C Libraryで実装されている。 コード buf2をfreeし忘れている #include stdio.h #include malloc.h #include mcheck.h /* for check memory leak */ int main() { char *buf1, *buf2; mtrace(); buf1 = (char*)malloc(10); buf2 = (char*)malloc(10); free(buf1); /* free only buf1 */ muntrace(); return(0); } 実行 $ gcc -o fr...
  • profiler
    gprof and oprofile http //www.valinux.co.jp/contents/tech/techlib/eos/profile/profile_001.html google-perftools http //code.google.com/p/google-perftools/wiki/GooglePerformanceTools
  • core dump
    目的 NULLに文字列を書き込みcore dumpをはかせてそのログを解析する。 コード #include stdio.h #include string.h int main() { char *ptr=NULL; strcpy(ptr, "hello"); puts(ptr); return(0); } 実行 $ gcc -o hello hello.c -g $ ulimit -c # core fileのサイズを確認 0 # おそらくlinuxの場合何もしていないと0が表示される $ ulimit -c unlimited # サイズをunlimited変更 $ ./hello ...
  • variable argument lists
    目的 可変引数について調べる コード #include stdio.h #include stdarg.h int dprintf(char *fmt, ...) { va_list args; char buf[256]; va_start(args, fmt); vsprintf(buf, fmt, args); va_end(args); fprintf(stderr, "DEBUG[%s]\n", buf); return (0); } int main() { dprintf("%s %s %d", __FILE__, __func__, __LINE__); return 0; } 実行 $ gcc -o varg varg.c -...
  • nfs
    firewall stop sudo /etc/init.d/iptables stop check hosts cat /etc/hosts.allow cat /etc/hosts.deny sudo vim /etc/exports #open /mnt/sdb /mnt/sdb/ 192.168.0.*(rw) #into network /mnt/sdb/ localhost(rw) # me nfs install and execute sudo yum install nfs-utils sudo /etc/init.d/nfs start try mount sudo mount -t nfs localhost /mnt/sdb /mnd/disk refer to htt...
  • AdobePDFReader
    download url http //get.adobe.com/jp/reader/otherversions/ run acroread
  • screenshot
    How to get screenshot Please refer http //www.atmarkit.co.jp/flinux/rensai/linuxtips/010prtsc.html
  • gmail
    How to use gmail on thunderbird? please refer to google s web site. http //mail.google.com/support/bin/answer.py?hl=jp answer=13287 How to delete google ads on firefox? "Gmail Ad blocker" https //addons.mozilla.org/ja/firefox/addon/7560
  • deb
    How to build source package of downloaded by apt-get cd hoge-package dpkg-buildpackage -rfakeroot -uc -b -d http //hanagurotanuki.blogspot.com/2008/12/ubuntu.html
  • timer
    よくまとまっている http //mowa-net.jp/~amedama/cgi-bin/wiki/wiki.cgi?action=SOURCE page=Kernel%A5%E1%A5%E2+%BB%FE%B4%D6%B4%C9%CD%FD%CA%D4
  • RSSI
    RSSI(Received Signal Strength Indicator) 受信信号強度ともよばれ、受信した受信信号の強弱を表現する。 この値が大きくなれば、強いシグナルを受け取っており、通信環境は良く 小さくなればなるほど、受信シグナルが弱い。 RSSI値を計ることにより、device間の距離・移動の様子なども知ることができ LBS(Location Based Service)等に利用することができる。 信号強度の算出方法 信号強度(%) = (received RSSI / max RSSI) * 100 信号強度(%)からdBmを算出 1. 受信信号のRSSI値を信号強度(%)に変換する 2. ベンダ毎の変換テーブルから信号強度(%) - デシベル(dBm)に変換 dBmとは ...
  • Aspire One/How to install ubuntu
    How to install ubuntu 準備 Ubuntu 8.04.1(8.04.0はダメなので要注意) http //cdimage-ashisuto.ubuntulinux.jp/releases/8.04/ubuntu-ja-8.04.1-desktop-i386.iso USB flash memory or USB strage 1GB以上 手順 Ubuntu上で以下の手順を実行 sudo su apt-get install syslinux fdisk /dev/sdb1 # -- USB strageのデバイスファイル # fat32 bootableに編集する mkdosfs -F 32 /dev/sdb1 wget http //www.startx.ro/sugar/isotostick.sh chmod ...
  • Solaris10/nfs
    マウントされる側の設定(solaris) 次の1つのコマンドをrootで実行します。 share -F nfs -o root=マウントするサーバ マウントさせるディレクトリ マウントする側の設定(ubuntu) mount -t nfs -o rw,soft マウントされるサーバ名 マウントされるディレクトリ名 マウントするディレクトリ名 refer to http //www.h3.dion.ne.jp/~xosada/unix/kanri/index.html http //www9.ocn.ne.jp/~pcvolu/pcnet/solapage14.htm http //www.furyu.atnifty.com/cgi-bin/readtext.cgi?title=NFS-mount fname=./memo/Lin...
  • debug
    qemu -s -S -kernel ./v2.6.20/arch/i386/boot/bzImage -hda ./512m.bin -append "root=/dev/hda" ddd ./vmlinux kdbg -r localhost 1234 es.elf http //www.h7.dion.ne.jp/~qemu-win/qemu-doc-ja.html#SEC29 http //nes.sourceforge.jp/os-howto.html http //groups.google.co.jp/group/shiitake-dev/browse_thread/thread/2f2e4ac498c19f9a http //www.netfort.gr.jp/~tosihisa/zaurus/?cross_PlamoLinux http...
  • プラグイン/ニュース
    ニュース @wikiのwikiモードでは #news(興味のある単語) と入力することで、あるキーワードに関連するニュース一覧を表示することができます 詳しくはこちらをご覧ください。 =>http //atwiki.jp/guide/17_174_ja.html たとえば、#news(wiki)と入力すると以下のように表示されます。 真女神転生5攻略Wiki|メガテン5 - AppMedia(アップメディア) 【グランサガ】リセマラ当たりランキング - グランサガ攻略wiki - Gamerch(ゲーマチ) SlackからWikiへ!シームレスな文章作成・共有が可能な「GROWIBot」リリース - アットプレス(プレスリリース) Among Us攻略Wiki【アマングアス・アモングアス】 - Gamerch(ゲーマチ) 【ウマ娘】ナリタブライアン...
  • swsusp
    refer to http //www.linux.or.jp/JF/JFdocs/kernel-docs-2.6/power/swsusp.txt.html
  • memory copy
    目的 構造体の変数を代入とmemcpyでどちらが早か調べる 実行環境 今回のテストは環境に依存すると思うので参考までにspecを載せておく AMD Athlon(tm) 64 Processor 3200+ DDR 515992kB コード #include stdio.h #include string.h #include time.h #include sys/time.h struct mydata { char buf[68]; }; long gettimeofday_sec() { struct timeval tv; gettimeofday( tv, NULL); return tv.tv_usec; } int main() { struct mydata d1; stru...
  • skype
    Install skype on Ubuntu 8.10 sudo wget http //www.medibuntu.org/sources.list.d/intrepid.list --output-document=/etc/apt/sources.list.d/medibuntu.list sudo apt-get update sudo apt-get install medibuntu-keyring sudo apt-get update sudo apt-get install skype References https //help.ubuntu.com/community/Medibuntu
  • kgdb
    http //git.kernel.org/?p=linux/kernel/git/jwessel/linux-2.6-kgdb.git;a=summary http //www.ibm.com/developerworks/jp/linux/library/l-debug/ http //www.shakthimaan.com/downloads/glv/kgdb-howto/kgdb-howto.html
  • GPS
    GT-730F How to use? in the linux terminal I sent sudo modprobe pl2303 I went to /etc/modules and added pl2303 to the bottom of the file baud rate set 38400 I plugged in the device, and sent cat /dev/ttyUSB0 Features Acquire and track 65 satellites simultaneously Venus 5 simultaneous time-frequency search bins Signal detection better than -160dBm Rea...
  • animEffect
    I have fixed this source code for linux. Original code is http //www.purple.dti.ne.jp/~t-ogura/animeEffect.
  • gtk+-2.0-0
    Why build gtk+-2.0 by myself? Currently, Ubuntu 8.04 uses libgtk+-2.0-0 package. However, libgtk+-2.0-0-dev package does not exist. So I build package. How to build gtk+-2.0 apt-get source libglib2.0-0 cd glib2.0-2.16.3 ./configure --prefix=/usr make sudo make install apt-get source libatk1.0-0 cd atk1.0-1.22.0 ./configure --prefix=/usr make sudo make install apt-get source libcairo...
  • xrandr
    How to use external display? xrandr -q xrandr --output VGA --auto Turn off xrandr --output VGA --off http //www.thinkwiki.org/wiki/Xorg_RandR_1.2 http //academic.meganebu.com/~debug_ito/index.php?Ubuntu%2Fxrandr%A4%C7%B3%B0%C9%F4%A5%E2%A5%CB%A5%BF%BD%D0%CE%CF
  • Holophonics
    What is this? http //en.wikipedia.org/wiki/Holophonics Galatea Talk http //lfll.blog73.fc2.com/blog-entry-140.html KEMAR http //sound.media.mit.edu/resources/KEMAR/README 3-dimensional Sound http //games.cs.uni-magdeburg.de/audio/3d_sound.htm OpenAL Creative implementation http //www.memorize-being.net/releases/oal11spec-ja/spec-4.html http //connect.cr...
  • specification
    UNIX Specification version 3(SUSv3) SUSv3はIEE Std. 1003.1 (POSIX)と同じ http //www.unix.org/version3/ fat http //staff.washington.edu/dittrich/misc/fatgen103.pdf http //home.teleport.com/~brainy/fat16.htm
  • subversion
    proxy http-proxy-host = proxy.example.com http-proxy-port = 8080 ※先頭に空白をいれるとだめ http //d.hatena.ne.jp/cou929_la/20080701/1214891644
  • bootchart
    /sbin/bootchart2d /sbin/bootchart2_logger /sbin/bootchartd /etc/bootchartd.conf mount -t tmpfs tmpfs /var -o size=10m mkdir /var/log mkdir /var/run bootchart2d start http //itpro.nikkeibp.co.jp/article/COLUMN/20061019/251177/ http //www.kunitake.org/chalow/2006-03-07.html
  • block dump
    # dump on echo -n 1 /proc/sys/vm/block_dump # dump off echo -n 0 /proc/sys/vm/block_dump block/ll_rw_blk.c if (unlikely(block_dump)) { char b[BDEVNAME_SIZE]; printk(KERN_DEBUG "%s(%d) %s block %Lu on %s\n", current- comm, current- pid, (rw WRITE) ? "WRITE" "READ", (unsigned long long)bio- bi_sector, ...
  • ext3
    Where mkfs.ext3 source? apt-get source e2fsprogs ./configure make cp misc/mke2fs misc/mkfs.ext3 analyze source e2fsck/e2fsck.h 193 typedef struct e2fsck_struct *e2fsck_t; 194 195 struct e2fsck_struct { misc/mke2fs.c errcode_t ext2fs_initialize(const char *name, int flags, struct ext2_super_block *param, io_manager manager, ext2_filsys *ret_fs) errcode_t ext2fs_allocate_ta...
  • burn CD or DVD
    Create image mkisofs -r -J -o image.iso target/ Search drive cdrecord --scanbus scsibus1 1,0,0100) TOSHIBA DVD-ROM SD-R5002 1033 Removable CD-ROM Burn CD cdrecord dev=1,0,0 image.iso Burn DVD growisofs -Z image.iso
  • dbus
    D-BUSを使用してデスクトップ・アプリケーションを接続 http //www.ibm.com/developerworks/jp/linux/library/l-dbus/ wiki http //ja.wikipedia.org/wiki/D-Bus dbus tutorial http //dbus.freedesktop.org/doc/dbus-tutorial.html
  • fastboot
    news http //lwn.net/Articles/299483/ git repository http //git.kernel.org/?p=linux/kernel/git/arjan/linux-2.6-fastboot.git;a=summary Download sudo apt-get install git-core git clone git //git.kernel.org/pub/scm/linux/kernel/git/arjan/linux-2.6-fastboot.git master Config │Symbol FASTBOOT[=n] │Prompt Fast boot support │ Defined at init/Kconfig 527 │ Location │ ...
  • kblockd
    何してるか たぶんブロックデバイス関係の処理? block/ll_rw_blk.c kblockd_workqueue = create_workqueue("kblockd"); でワークキューを作成 http //f42.aaa.livedoor.jp/~hassaku/crswikicrs/?LinuxDriver%A4%D8%A4%CE%C6%BB18%3F
  • insmod
    insmodの解析 insmod.c filenameで指定されたkernel objectsの内容をメモリ上に読み込み、そのアドレスとサイズを返す 60 static void *grab_file(const char *filename, unsigned long *size) 16KByte - 32KByte - 64Kbyteのように2のべき乗単位でreallocしていくので注意 gcc -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.3-pre11\" -c -o insmod.o insmod.c gcc -o insmod insmod.o -Wunusedとは 未使用の引数を警告
  • kernel
    linux 2.2.14 file numbers 5187
  • usbcamera
    Linux supporting UVC device list http //linux-uvc.berlios.de/
  • Solaris10/adduser
    add user useradd [username] http //www.b-dash.net/solaris/solaris_5.html
  • @wiki全体から「buffer overflow」で調べる

更新順にページ一覧表示 | 作成順にページ一覧表示 | ページ名順にページ一覧表示 | wiki内検索

ツールボックス

下から選んでください:

新しいページを作成する
ヘルプ / FAQ もご覧ください。