Giter VIP home page Giter VIP logo

libelfxx's People

Contributors

jserv avatar kito-cheng avatar sacreative10 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

libelfxx's Issues

Don't force -Werror

Please don't force a build with -Werror or at least make it possible to disable it, otherwise the build fails for me:

ElfImage.cpp: In static member function 'static libelfxx::ElfImage* libelfxx::ElfImage::create(FILE*)':
ElfImage.cpp:263:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
  263 |   fread(&elfIdent, EI_NIDENT, 1, fp);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Fix typo in README

It is assumed to be fixed as:

  • It is a simple ELF reader library written in C++ and distributed under version 2 of the Apache Software License (ASL).

Trivial build log tweak

The log is a bit ugly at present, and it can be improved by the following patch:

Subject: [PATCH] rules: Trivial format tweaks

---
 rules.mak | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/rules.mak b/rules.mak
index b62de3e..f022785 100644
--- a/rules.mak
+++ b/rules.mak
@@ -17,13 +17,13 @@
 quiet-command = $(if $(V),$1,$(if $(2),@echo $2 && $1, @$1))

 LINK_SO = $(call quiet-command,$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared \
-            -o $@ $(sort $(1)) $(2) $(LIBS),"  LINK  $(TARGET_DIR)$@")
+            -o $@ $(sort $(1)) $(2) $(LIBS),"  LINK   $(TARGET_DIR)$@")

 LINK_AR = $(call quiet-command,$(AR) $(AR_FLAGS) $(LDFLAGS) \
-            -o $@ $(sort $(1)) $(2) $(LIBS),"  LINK  $(TARGET_DIR)$@")
+            -o $@ $(sort $(1)) $(2) $(LIBS),"  LINK   $(TARGET_DIR)$@")

 LINK_EXE = $(call quiet-command,$(CXX) $(CXXFLAGS) $(LDFLAGS) \
-             -o $@ $(sort $(1)) $(2) $(LIBS),"  LINK  $(TARGET_DIR)$@")
+             -o $@ $(sort $(1)) $(2) $(LIBS),"  LINK   $(TARGET_DIR)$@")

 release/%.o: src/%.cpp
    @mkdir -p release/
-- 
1.8.3.1

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.