Author Archives: daveti

Unknown's avatar

About daveti

Interested in kernel hacking, compilers, machine learning and guitars.

jmgsim – a Java implementation of H.248 media gateway simulator

‘jmgsim’ is a Java implementation of H.248 Media Gateway (MG) simulator and Media Gateway Controller (MGC) simulator used for testing real MG/MGC. It is coded within NetBeans 7.1 and has been published as a public project at ‘java.net’, as ‘kenai’ … Continue reading →

Posted in Dave's Tools, H.248/MEGACO/EGCP, Programming | Tagged , , , , , , | Leave a comment

7 Lovely Logics – shared by my friend Michelle

Posted in Life Prose | Leave a comment

RedHat 6 – Porting code to RH6

We are moving our product’s OS from RedHat 5 to 6, as well as new version of ‘gcc’ (4.X) along with RH6.  To port the existing code to RH6 with new compiler, there might be a lot of things we … Continue reading →

Posted in OS, Programming, Stuff about Compiler | Tagged , , , | 1 Comment

shellcode 1 – comments for the doc “The Basics of Shellcoding”

Recently been doing some stuffs on Shellcode. After a while wandering in the net, I found the doc “The Basics of Shellcoding” by Angelo Rosiello may be the very concise introduction to start with shellcoding, especially for the newbie like … Continue reading →

Posted in Security | Tagged , , , , , | Leave a comment

side effect of “++” in C – compiler implemenation with assembly

This post shows a common known side effect of “++” operator in C programming because of different compiler implementation. Assembly code from PowerPC and x86 with gcc is provide to show the key difference and the reason why for this … Continue reading →

Posted in Programming, Stuff about Compiler | Tagged , , , | Leave a comment

Intel x86 32-bit assembly – function call & stack frame

This post is originally written for a basic view on function call and stack frame in Intel x86 32-bit assembly code. EBP and ESP are the focus. A stack layout pic with dynamic register changes is also down there. May … Continue reading →

Posted in Programming, Stuff about Compiler | Tagged , , , , , , | 1 Comment

Print unsigned long long – SegV in C

This post shows a potential bug in printing unsigned long long, which cost David, Leo and me a few days for debugging. One product got segv on cPSB lab – a platform based on MontaVista Linux and PowerPC CPU. Back … Continue reading →

Posted in Programming, Static Code Analysis, Stuff about Compiler | Tagged , , , | 3 Comments

Let’s play guitar – video with the Band:)

The Band (Alcatel-Lucent R&D Qingdao Band) recently got some shows both for wireless and wireline departments. Below comes a pic of me and 2 videos of the band. Enjoy:) (pic took by Maggie Mai for the 2nd Wireless Pace Day, … Continue reading →

Posted in Music Prose | Tagged | Leave a comment

Uninit structure member – Uninit checking and static code analysis

A recent software bug caused a serious data damage in our customer’s side, which is using an uninit sturcture member. This post gives a practical comparison between kinds of static code analysis tools for this specific bug among popular commerical … Continue reading →

Posted in Static Code Analysis | Tagged , , , , , , , | Leave a comment

kill all – killing all the process of certain user under Solaris

This is a quick post on kill based on the trial and discussion when David, Daniel and myself were trying to kill all the abnormal process of Daniel under a Solaris 8 Ultra-80 server. The most tough thing was the … Continue reading →

Posted in Programming | Tagged , , | 1 Comment