GithubHelp home page GithubHelp logo

libguestfs / hivex Goto Github PK

View Code? Open in Web Editor NEW
127.0 127.0 43.0 1.3 MB

windows registry hive extraction library. PLEASE DO NOT USE GITHUB FOR ISSUES OR PULL REQUESTS. See the website for how to file a bug or contact us. http://libguestfs.org

Home Page: http://libguestfs.org/hivex.3.html

License: Other

Shell 3.29% Makefile 5.02% Perl 9.80% OCaml 33.97% CSS 0.09% C 38.53% Python 2.12% HTML 0.03% Ruby 2.45% M4 4.70%

hivex's Issues

ocamlfind query hivex fails after sudo make install

ocamlfind query hivex does not find hivex, causing libguestfs ./autogen.sh to fail.

Installation steps:
./bootstrap
./autogen.sh
make
sudo make install

No issues with any of the above commands that I can see, and I noticed that autogen returned "OCaml bindings ........ yes" so I would expect ocamlfind to be able to pick it up.

Hivex on PyPi

I would love to see if either the bindings themselves or a Type Stub is available for developers.

I am currently trying to make my codebase (https://github.com/cobbler/cobbler) pyright/mypy compatible and this is one of the few dependencies that

  1. I cannot add to my requirements list
  2. Cannot be verified in terms of type checking

python3 hivex gives strings for REG_BINARY values

In 1.3.8 in python 3.3, the hivex module gave bytes objects for REG_BINARY values.
In 1.3.9, it started giving str objects for REG_BINARY values, or anything using value_value() it seems. Binary data should be kept as binary data. This is definitely a regression.
This broke any code trying to interpret binary objects, as the struct library does not accept str objects as valid binary data.
It doesn't make a lot of sense why one wouldn't want bytes objects from REG_BINARY objects.

comipled on windows with vc, found one case that cause missing key

Here are two registry keys, if we use the lib to create both, the shorter one is missing when opening with windows regedit.exe:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\1\CurrentControlSet\Services\VSS\Diag\Lovelace(__?GLOBALROOT_Device_HarddiskVolume3)]

[HKEY_LOCAL_MACHINE\SYSTEM\1\CurrentControlSet\Services\VSS\Diag\Lovelace(C:_)]

./configure: line 40722: unexpected token 'external' ... AM_GNU_GETTEXT(external)

Hello friends

When I try to build

# git clone https://github.com/libguestfs/hivex.git
# cd hivex
# ./autogen.sh

...throws

./configure: line 40722: syntax error near unexpected token `external'
./configure: line 40722: `AM_GNU_GETTEXT(external)'

Trying on CentOS Stream release 8 with Development Tools group installed and:

# rpm -qa|grep gettext
gettext-0.19.8.1-17.el8.x86_64
gettext-common-devel-0.19.8.1-17.el8.noarch
gettext-devel-0.19.8.1-17.el8.x86_64
gettext-libs-0.19.8.1-17.el8.x86_64

config.log

Thanks, Regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.