Coder Social home page Coder Social logo

regfparser's Introduction

Hi there ๐Ÿ‘‹

I work on what I think I have to do every day to achieve my biggest goal in my life.
Right now, working on my second biggest goal irl, which must be done before that.

  • ๐Ÿซ Not yet in university
  • ๐Ÿ’ฌ Speak Japanese
  • ๐Ÿ“ C & C#
  • ๐Ÿ‘จโ€๐Ÿ’ป Win32 (filesystem and console) & WinUI
  • ๐Ÿ‘ฏ Working on Files app
  • ๐ŸŒฑ Learning Windows low-level Win32 APIs for file system and shell
  • ๐Ÿ”ญ Want to learn kernel debugging and UEFI development

regfparser's People

Contributors

0x5bfa avatar

Stargazers

 avatar

Watchers

 avatar

regfparser's Issues

Memory overwrite caused by using global memory

Unexpected memory changes caused by using global memory change global memory to heap memory.

Actual behavior

Cell:(Abs:0x2B98)[A8][FF][FF][FF][6E][6B]
    Size:                              0x58
    Signeture:                         nk
    Flags:                             0x20
    Time stamp:                        2021/09/12 08:56
    Access bits:                       0x2
    Parent offset:                     0x3D8
    Number of subkeys:                 0x0
    Number of volatile subkeys:        0x0
    Subkeys list offset:               0xFFFFFFFF
    Number of key values:              0x1
    Key values list offset:            0x19B8
    Key security offset:               0x178
    Class name offset:                 0xFFFFFFFF
    Largest subkey name length:        0x0
    Largest subkey class name length:  0x0
    Largest value name length:         0xE
    Largest value data size:           0x1
    WorkVar:                           0x0
    Key name length:                   0x8
    Class name length:                 0x0
    Key name:                          46000010

ValueList:(Abs:0x29B8)[F8][FF][FF][FF]
    Size:                              0x8
    Offset #0:                         0x1998

Cell:(Abs:0x2998)[E0][FF][FF][FF][76][6B]
    Size:                              0x20
    Signeture:                         vk
    Value name size:                   0x7
    Data size:                         0x80000001
    Data offset:                       0x1
    Data type:                         0x3
    Flags:                             0x1
    Key name:                          Element
    Data:                              0x1

ValueList:(Abs:0x29B8)[F8][FF][FF][FF]
    Size:                              0x8
    Offset #0:                         0x1998

Cell:(Abs:0x2998)[E0][FF][FF][FF][76][6B]
    Size:                              0x20
    Signeture:                         vk
    Value name size:                   0x7
    Data size:                         0x80000001
    Data offset:                       0x1
    Data type:                         0x3
    Flags:                             0x1
    Key name:                          Element
    Data:                              0x1

What happened

When the key node structure changed by the child key returns to the parent key, the unset is changed and the same value is referenced.

How to fix it to behave as expected

Change to a local variable and allocate heap memory. Since memory usage will increase more than before, we will organize variables.

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.