Coder Social home page Coder Social logo

libpebliss's People

Contributors

asinbow avatar se2dev avatar tacixat avatar zhuangxiu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

mmitsuha

libpebliss's Issues

IAT FTs not being automatically calculated

In most PE files, the values of the OFTs and FTs for a given symbol import should be identical.

It seems that regardless of the import builder settings, IAT FTs always use the values explicitly defined by
import_function::set_iat_va(ft_value);. This works fine for re-building existing imports (as the value that was already in the PE will be reused), but for adding new imports (see the import_adder example) - the FTs will not have the correct value - as a result, the generated PE may function correctly in some cases, and fail in others.
image

Generally, the OFTs are automatically calculated, but but using the following settings will result in the FTs being automatically calculated, but both the module and imports for that module will have null OFTs.

import_rebuilder_settings settings(true, false);
settings.build_original_iat(false);
settings.fill_missing_original_iats(false);

image

I'm not sure if this behavior is a bug, oversight, or another issue entirely.

Import_Adder Generates a Truncated Section

When running the import_adder example, the new imports section is truncated and doesn't contain the correct padding length. This appears to be due to a mismatch between section::get_raw_data()::length()and the value yielded bysection::get_size_of_raw_data()`

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.