-
I am Dave (Jing) Tian, an Associate Professor in the Department of Computer Science at Purdue University working on system security. My research involves embedded systems, operating systems, trusted and confidential computing, and hardware security. All opinions are my own.
Shoot me:
root@davejingtian.org Categories
Tags
- ABNF
- agile
- AI/ML
- Alcatel-Lucent
- android
- arp
- asn1c
- assembly
- bash
- ber
- bison
- BNF
- build
- C
- CentOS
- CIS122
- Coverity
- crypto
- csv
- cuda
- DCA
- ddclient
- debugfs
- DH
- Diffie-Hellman
- drd
- drig
- elixir
- fedora
- fedup
- flex
- fsck
- gcc
- gdb
- GFW
- git
- github
- gnome
- gprof
- gpu
- guitar
- gumstix
- helgrind
- intel
- itevad
- Java
- jmgsim
- JVM
- kenai
- kernel
- kill
- ksh
- kvm
- ld
- Linux
- list
- netbeans
- netlink
- nvidia
- OS
- overo
- Python
- relay
- security
- selinux
- sgx
- socket
- ssh
- Ubuntu
- UO
- USB
- valgrind
- x86
- x86_64
- yocto
Blog Stats
- 278,403 hits
-

All blogs on this website are licensed under a Creative Commons Attribution 4.0 International License.
Category Archives: Programming
MySQL – cheat table
The first book I have read about SQL is Ben Forta’s ‘MySQL Crash Course’. I like Ben’s writing style where each chapter only contains few but important things worth doing hands-on trial and remembering. Generally, below is some notes after … Continue reading
REPRINT: How to Write Scripts for Oracle Solaris with the Korn Shell
Original post: http://www.oracle.com/technetwork/articles/servers-storage-dev/kornshell-1523970.html?sc=APACOU12014452MPP001C017 REPRINT: How to Write Scripts for Oracle Solaris with the Korn Shell by Ken Gottry, originally published August 2001 The basics of creating, executing, testing, and launching scripts to control Oracle Solaris with a Korn shell. Includes … Continue reading
bind() error 0x63 – Cannot assign requested address
Recently encountered a bind() error 0x63 – cannot assign requested address. After some effort on debugging, I list 2 possibilities here for reference when handling such this error code from bind(). Generally, if it is related with bad socket close/cleanup, … Continue reading
gprof and dot – some hints using gprof, gprof2dot and dot
Recently done a performance tuning using gprof, gprof2dot and dot. While there are already a lot of webs talking about them respectively or generally. This post is trying to provide some hints from my real experience, as well as some … Continue reading
A bad include in C – why static code analysis is needed for modern C/C++ projects
We have already had a long discussion and argument for ‘include’ mechanism in C/C++, no matter good or bad, and this is not my intention here. I am writing this post to show a confusing compiler error we have recently … Continue reading
Posted in Programming, Static Code Analysis, Stuff about Compiler
Tagged C/C++, SCA, splint
Leave a comment
csve – csv file evolver
Csv file, short for Comma Separated Version file, is usually a easy and common way to record [field:value] in multiple lines with all fields and values separated by comma, which is the basic data file of Microsoft Excel, as well … Continue reading
cccmt – Coverity code complexity metrics tool
cccmt is used to parse the METRICS.errors.xml generated by cov-analyze of Coverity to produce a Code Complexity Metrics (CCM) report of different functions. SAX is used to parse XML file instead of DOM as the XML file may be very … Continue reading
Posted in Dave's Tools, Programming, Static Code Analysis
Tagged cccmt, ccm, Coverity, Java, netbeans, SAXParser, xml
Leave a comment
itevad – How to write your own protocol and its stack – part 9
Previous_Part_8 Now we are moving to the last post of ‘itevad’ – writing a stack for decoding text format of Itevad Protocol using Flex and Bison as well as C as a main function. Being different with previous Flex and … Continue reading
Posted in Dave's Tools, H.248/MEGACO/EGCP, Programming, Stuff about Compiler
Tagged bison, flex, itevad
Leave a comment
itevad – How to write your own protocol and its stack – part 8
Previous_Part_7 After writing a Flex standalone lexer, we are going to make it a little bit useful – adding parser, Bison. When Flex and Bison work together, standalone flex file needs some changes to cooperate with Bison, as you will … Continue reading
Posted in Dave's Tools, H.248/MEGACO/EGCP, Programming, Stuff about Compiler
Tagged bison, flex, itevad
Leave a comment
itevad – How to write your own protocol and its stack – part 7
Previous_Part_6 From this post, we will have to learn Flex and Bison, which are assumed to have very bizarre grammars to write and understand. Fortunately, we will step forwardly from Flex standalone, Flex+Bison and Flex+Bison+C finally. Please kindly note that … Continue reading
Posted in Dave's Tools, H.248/MEGACO/EGCP, Programming, Stuff about Compiler
Tagged bison, flex, itevad
Leave a comment



