Tag Archives: windows

Dump PE file

I am using some tool to check a PE file (dll or exe) depends, most free tool support 32bits file. So I decided to write an tool support 32bits and 64bits PE file. The PE struct is defined in MinGW’s … Continue reading

Posted in Writing | Tagged , , , , | Comments Off on Dump PE file

Build openssl for windows

First, download source code: https://www.openssl.org/source/openssl-1.0.2h.tar.gz Second, download ActivePerl https://www.activestate.com/activeperl Third, download mingw64 https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/

And I compile mingw version under xubuntu 16.04 with mingw32 installed.

Have fun:P This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License. … Continue reading

Posted in Memo | Tagged , , , | Comments Off on Build openssl for windows

reimplement tmpfile under windows

Because tmpfile create temporary file under “/tmp” in linux, but create file under “C:” “D:” in windows. I need it create file under “%TEMP%”, so just reimplement it.

Posted in Memo | Tagged , , | Comments Off on reimplement tmpfile under windows

Create a windows hosts config tool

Using python to to this, load from hosts, then parse using re. then modify, and write back.

Posted in Others | Tagged , , , , | Comments Off on Create a windows hosts config tool

完成PicoBlaze工具链——基于sdcc和kcpsm3 (Finish PicoBlaze Toolchain)

已经完成了PicoBlaze的工具链,编译器是基于别人针对sdcc框架移植的pbcc,汇编器直接使用xilinx的kcpsm3,自己做了一个封装。汇编器在系统的临时文件夹里运行,默认输出verilog结果,其它格式可以自己在kcpsm3w32后加参数。 代码放在了 http://code.google.com/p/sdcc-kcpsm3w32/ — Finish picoblaze toolchain. source code at http://code.google.com/p/sdcc-kcpsm3w32/

Posted in Memo | Tagged , , , , , , , | Comments Off on 完成PicoBlaze工具链——基于sdcc和kcpsm3 (Finish PicoBlaze Toolchain)


Binary is locate in google code http://code.google.com/p/svn-python-win32/ This is subversion python bindings for windows.Upgrade from python2.5 to python2.7.2, I can’t find suitable svn-python.And the major problem is apache2.2.22 which download from http://httpd.apache.org/download.cgi with mod_wsgi and python2.7.2 throw “Runtime Error”. Because … Continue reading

Posted in Memo | Tagged , , , , , , , , | Comments Off on 编译Subversion的Python绑定


由于Linux下的不能直接用,于是自己实现了一个,虽然用法不太一样。代码上传到了Google code。

Posted in Others | Tagged , , | Comments Off on Windows下的getopt



Posted in Memo | Tagged , , , , , , | Comments Off on 尝试使用google-template模板引擎