Giter VIP home page Giter VIP logo

Comments (6)

yuhui518 avatar yuhui518 commented on September 25, 2024

It seems that Win11-ARM64 does not support the python2.7-Win32com library

from certfuzz.

yuhui518 avatar yuhui518 commented on September 25, 2024

Yeah,I solve this problem.I replace the two prerequisites:

double click pywin32-228.win-amd64-py2.7.exe
pip install numpy-1.13.0-cp27-none-win_amd64.whl

download pywin32-228.win-amd64-py2.7.exe from "https://github.com/mhammond/pywin32/releases/download/b228/pywin32-228.win-amd64-py2.7.exe";
download numpy-1.13.0-cp27-none-win_amd64.whl from "https://pypi.org/project/numpy/1.13.0/#files".

from certfuzz.

yuhui518 avatar yuhui518 commented on September 25, 2024

I will encounter many crashes when running BFF on Windows x64,but I did not encounter any crashes when running BFF on Windows arm64.Is there any problem on Windows arm64?

from certfuzz.

ahouseholder avatar ahouseholder commented on September 25, 2024

We never tested BFF for Windows on ARM, so unfortunately I can't say what you should expect.

BFF was primarily built to run on Intel 32-bit & 64-bit systems. While the python code itself should be fine on any architecture that can run python 2.7, some of that python is parsing debugger outputs, and so there could be architecture dependencies there.

from certfuzz.

yuhui518 avatar yuhui518 commented on September 25, 2024

We never tested BFF for Windows on ARM, so unfortunately I can't say what you should expect.

BFF was primarily built to run on Intel 32-bit & 64-bit systems. While the python code itself should be fine on any architecture that can run python 2.7, some of that python is parsing debugger outputs, and so there could be architecture dependencies there.

Thank you very much for your reply.Windows arm64 can run x64 applicatio,If there is code that relies on the CPU architecture, some problems may arise.

from certfuzz.

ahouseholder avatar ahouseholder commented on September 25, 2024

So I don't think we are going to do anything about arm64 support in the near term, but just to leave a breadcrumb for posterity, I did find at least one place where a potential improvement could be made to call attention to the fact that arm64 is not supported.

_platforms = ['Windows']
_platform_is_supported = platform.system() in _platforms

in cdbanalyzer.py there is a platform check that just checks to see that platform.system() returns "Windows". This could be replaced with a more robust check that, for example, platform.machine() or platform.processor() returns the expected strings.s

For example, I expect we might run into similar problems with macOS on Apple M* hardware since BFF was written in the age of Intel Macs. A check there could look for machine=x86_64 or processor=i386 etc.


Addressing the larger question of actually supporting Windows on arm64, certfuzz.debuggers.output_parsers.msec_file is probably the place to start, specifically focusing on

def _find_exploitability(self, line):
if line.startswith('Exploitability Classification'):
exploitability = self.split_and_strip(line)
# Count it as a crash as long as it has a classification
if exploitability and exploitability != 'NOT_AN_EXCEPTION':
self.passed.add('exploitability')
self.exp = exploitability
self.line_callbacks.remove(self._find_exploitability)
def _find_efa(self, line):
if line.startswith('Exception Faulting Address'):
efa = self.split_and_strip(line)
# turn it into a properly formatted string
self.faddr = '0x%08x' % int(efa, 16)
self.line_callbacks.remove(self._find_efa)
def _find_hash(self, line):
if line.startswith('Exception Hash'):
crash_hash = self.split_and_strip(line)
# count it as a crash as long as it has a hash
if crash_hash:
self.passed.add('crash_hash')
self.crash_hash = crash_hash
self.line_callbacks.remove(self._find_hash)
def _find_secondchance(self, line):
if '!!! second chance !!!' in line:
self.secondchance = True
self.line_callbacks.remove(self._find_secondchance)

from certfuzz.

Related Issues (20)

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.