by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • May 29 12:35
    JanuszL commented #416
  • May 29 12:30
    romainthomas commented #416
  • May 29 10:36
    JanuszL commented #416
  • May 28 14:50
    waruqi commented #124
  • May 28 14:49
    waruqi commented #109
  • May 28 14:49
    waruqi commented #358
  • May 28 08:12
    evandrix commented #299
  • May 28 04:30

    romainthomas on master

    fix wrong EnumToString Merge pull request #424 from ko… (compare)

  • May 28 04:30
    romainthomas closed #424
  • May 28 04:29
    romainthomas commented #424
  • May 28 04:28
    romainthomas synchronize #424
  • May 28 04:23

    romainthomas on master

    fix to handle exceptions in jso… Merge pull request #423 from ko… (compare)

  • May 28 04:23
    romainthomas closed #423
  • May 28 04:21

    romainthomas on master

    add symbols record in to_json Merge pull request #422 from ko… (compare)

  • May 28 04:21
    romainthomas closed #422
  • May 28 04:21

    romainthomas on master

    add stream buffer size limit Merge pull request #421 from ko… (compare)

  • May 28 04:21
    romainthomas closed #421
  • May 28 04:20

    romainthomas on master

    fix to handle empty dialog Merge pull request #420 from ko… (compare)

  • May 28 04:20
    romainthomas closed #420
  • May 28 04:20

    romainthomas on master

    fix to avoid SIGSEGV while pars… Merge pull request #419 from ko… (compare)

Tom
@nyx0
thanks
Raphaël Vinot
@Rafiot
@nyx0 Are you planning to do a new release soon-ish? the last one doesn't support python 3.7 and with ubuntu 19.04, you do not have python 3.6 anymore by default
Romain
@romainthomas
Hi @Rafiot, I need to fix and clean some stuff but I plan to release LIEF 0.10 in June
That will include python 3.7 wheel packages
Raphaël Vinot
@Rafiot
Hmmm okay. I'll probably have to switch to the testing package in the meantime then.
Raphaël Vinot
@Rafiot
Okay, so just so you know: figuring out how to get the proper version of lief installed by default on python 3.7 without breaking python 3.6 if lief is a dependency (in my case in PyMISP), it is pretty much nightmarish. Enough that I'll leave it as an exercise for the developer for the time being ;)
Raphaël Vinot
@Rafiot
Hey, is there a timeline for the release of the new version of lief on pypi?
Romain
@romainthomas
Hello @Rafiot
Sorry for the delay, I didn't manage to make the release as I would like to do. Nonetheless I uploaded the
latest build on Pypi with the tag 0.10.0.dev0 so that Python 3.7 can use it.
To install it:
$ pip install lief==0.10.0.dev0
Andrew Williams
@recvfrom
Are there plans to do a new LIEF release any time soon? It'd be cool to have the Authenticode-related improvements in an official release
Raphaël Vinot
@Rafiot
it doesn't seems to be possible to pass a bytes stream to lief.parser anymore? This isn't working anymore: https://github.com/MISP/PyMISP/blob/master/pymisp/tools/create_misp_object.py#L64
Romain
@romainthomas
it's weird, I'll check tomorrow
Raphaël Vinot
@Rafiot
Thanks! :)
Raphaël Vinot
@Rafiot
It was working fine with the dev release, so I'm not sure what changed
Raphaël Vinot
@Rafiot
https://docs.python.org/3/library/io.html#io.BufferedIOBase.raw <= I guess that's what you're looking after, but I guess that "not available in the API" means that we cannot access it?
Romain
@romainthomas
@Rafiot I found the issue.
In the new version of pybind11, Python bytes are not converted in std::vector
I have a fix that I'll push tomorrow
Raphaël Vinot
@Rafiot
Oh, nice, thanks!
Just an other question: Should a call like that work: lief.parse(io=pseudofile, name=filename) with pseudofile a BytesIO? Or it io expecting something else?
(not right now, but in general)
Romain
@romainthomas
humm I think it should work. At least I'll make sure it works with BytesIO
But LIEF will do a local copy of the buffer anyway
Raphaël Vinot
@Rafiot
Ok, because right now, I get a AttributeError: '_io.BytesIO' object has no attribute 'raw'
Romain
@romainthomas
ok, I'll check that also
Raphaël Vinot
@Rafiot
Thank you :)
Romain
@romainthomas
Raphaël Vinot
@Rafiot
Thank you!
Will you release a new package?
Romain
@romainthomas
Yep 0.10.1
Raphaël Vinot
@Rafiot
excellent :)
Romain
@romainthomas
@Rafiot I merged the fix in master. Would you mind to test if it resolves your issue ?
Raphaël Vinot
@Rafiot
It does, thanks!
Will you release the bugfix today? I'd like to do a new release of pymisp if possible
Romain
@romainthomas
I will do this week end
Raphaël Vinot
@Rafiot
\o/
Romain
@romainthomas
@Rafiot it's done
Raphaël Vinot
@Rafiot
Thank you!
Tom
@nyx0
@romainthomas Hi can you add precompiled binary for python3.8 for Windows?
Romain
@romainthomas
Hi @nyx0,
Unfortunately there were an issue with Python 3.8 on Windows but I didn't check it in last couple of weeks
Daniel Botterill
@DanielBotteril1_twitter
@romainthomas Hi, I was wondering if LIEF supports ELF MIPS big-endian? I see an open issue for it here lief-project/LIEF#74 and when I try it via Python it indeed does not support it. Although I see references to swap_endian in the code so wasn't sure if it was now meant to. Thank you! :)
Romain
@romainthomas
Hello @DanielBotteril1_twitter
I did not really tested LIEF on MIPS big-endian so it's likely bugy
David Manouchehri
@Manouchehri
What's the purpose of insert_dex2dex_info? Tried to find an example usage and looked in the source as well, but it's not super clear to me. https://lief.quarkslab.com/doc/latest/api/python/dex.html#lief.DEX.Method.insert_dex2dex_info
Romain
@romainthomas
@Manouchehri The purpose of this API is for optimized DEX files that are embedded VDEX or OAT. Actually Android may optimize some DEX instructions such as invoke-virtual Ljava/lang/String;->hashCode() becomes invoke-virtual-quick vtable@123
Dwi Mulia Mokoginta
@malwareslayer
hi guys, is it possible to make elf relocatable ?
David Manouchehri
@Manouchehri
@romainthomas ah thanks!
Thin Ba Shane (Luna)
@LunaM00n
python -m pip install https://github.com/lief-project/LIEF/releases/download/0.10.1/lief-0.10.1-cp36-cp36m-win32.whl
ERROR: lief-0.10.1-cp36-cp36m-win32.whl is not a supported wheel on this platform.
How can i install via Windows 10?
Thin Ba Shane (Luna)
@LunaM00n
I got it. I m using python 3.8.2 and installing cp36. It was my mistake. Sorry to bother you all.
Antonio Flores Montoya
@aeflores
Hi @romainthomas what is the timeline for the next bugfix release? it would be nice to have one soon