Skip to main content

A hot fix tool for compiled languages such as c and c++.

Project description

TigerFix
=========

Build from source
---------
.. code::

python3 setup.py sdist
pip3 install dist/tigerfix-0.1.3.tar.gz

Installation
------------

.. code::

pip3 install tigerfix

Usage
------------

+ you should install the library and c/c++ files at first

.. code::

tfix install


+ write your main program
+ include <tigerfix/def.h>
+ add **-ltfix** flag when linking


+ write your patch file
+ include <tigerfix/dev.h>
+ use **extern** to get access to what you want to use in patch code
+ compile patch without linking it

.. code ::

gcc patch.c -c -fPIC -o patch.o


+ generate patch file

.. code ::

tfix gen -m main -o patch.tfp patch.o


+ do hotfix
+ eval **pgrep main** , and you will get a pid(for example,10000)

.. code ::

tfix fix 10000 patch.tfp

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tigerfix-0.1.3.tar.gz (8.1 kB view details)

Uploaded Source

File details

Details for the file tigerfix-0.1.3.tar.gz.

File metadata

  • Download URL: tigerfix-0.1.3.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tigerfix-0.1.3.tar.gz
Algorithm Hash digest
SHA256 b7353bdcc5d7c2411ad7de00b9ecbd6c886213db384546d5d2a93ec31c762980
MD5 17b23b9b37c4ba72a92b45cec56c1f13
BLAKE2b-256 4b45a64d6bbe162de5029d7e97f03d1d80ff4d29573602c5725afd66d08cbe3a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page